coffee_cn

博客园 首页 新随笔 联系 订阅 管理

2012年1月9日 #

摘要: 1. 备份数据库mysqldump -uroot -p test_db > test_db.sql2. 恢复数据库mysql -uroot -p test_db < test_db.sql 3. 创建权限grant all privileges on test_db.* to test_db@'localhost' identified by '123456';兼容mysql4.1之前模式:update mysql.user set password=old_password('123456') where user='tes 阅读全文
posted @ 2012-01-09 14:49 coffee 阅读(397) 评论(0) 推荐(0) 编辑