Coding, Linux, Hacking Security, Learning!
How to create root user password in MySql
1) kill your mysqld
2) mysqld_safe –skip-grant-table
3) login as: mysql –user=root mysql
4) update mysql.user set password=PASSWORD(‘new-pass’) WHERE User=’root’;
5) flush privileges;
6) exit;
you are done!
| Print article | This entry was posted by admin on August 2, 2009 at 9:29 pm, and is filed under mysql. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |