摘要: 如何备份MySql的数据库应该说一般的数据库都有BackUp的需求, MySql备份数据库的方式很简单, 但是在网上说得云里雾里, 也应该是我对MySql数据库不熟悉.目标(Target) : 将本机中的mysql数据库备份到本机中的mydatabase数据库中 - 也就是完全的Copy一个数据库.#1. C:\Program Files\MySQL\MySQL Server 5.0\bin>mysqldump -u root -p mysql>backup_database.sqlEnter password: ******** (你的root帐户的密码)完成以后, 在路径C:\ 阅读全文
posted @ 2013-08-06 14:03 偶不是大叔 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 使用into的方法(单个赋值)select id into @id from tbl_currentWeather where cityid = _cityid;多个赋值select @id:=id,@cityid:=cityid from tbl_currentWeather where cityid = _cityid; 阅读全文
posted @ 2013-08-06 11:25 偶不是大叔 阅读(19793) 评论(0) 推荐(0) 编辑