展开全部
mysql默认密码设置如下命令就可以获得:
cd/
PATH="$PATH":/usr/local/mysql/bin
mysql -u root -p
mysql>use mysql;
mysql> UPDATE user SET password=PASSWORD("new password") WHERE user='username';
mysql> FLUSH PRIVILEGES;
mysql> quit;
within the directory the archive extracted into. If you compiled
MySQL yourself you must run ‘make install’ first.
就可以获得MySQL的初始密码。
扩展32313133353236313431303231363533e4b893e5b19e31333433633433资料:
mysql的其他错误解决办法:
1、Starting MySQL.Manager of pid-file quit without updating fi[失败]
关于这个错误原因有很多,最大的可能是没有创建测试数据库:
可以用/usr/local/mysql/scripts/mysql_install_db –user=m