摘要: 直接使用/etc/mysql/debian.cnf文件中[client]节提供的用户名和密码:# mysql -udebian-sys-maint -pEnter password: mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’;mysql> FLUSH PRIVILEGES;mysql> quit# mysql -uroot -pEnter password: mysql> 阅读全文
posted @ 2013-10-07 16:45 黄牛 阅读(509) 评论(0) 推荐(0) 编辑