Let it Be

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

随笔分类 -  DB

摘要:#/usr/local/mysql/bin/mysql stop#/usr/local/mysql/bin/mysqld_safe --skip-grant-tables &#mysql -u root -p (无须输入密码)#USE mysql;#UPDATE user SET Password=password("newpassword") WHERE User="root";#FLUSH PRIVILEGES;#exit;#/usr/local/mysql/bin/mysql start 阅读全文
posted @ 2011-10-18 14:58 Let it Be 阅读(170) 评论(0) 推荐(0)