十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
mysql -u root
mysql>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('你要设置的密码');
mysqladmin -u root password "你要设置的密码"
mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET Password = PASSWORD('你要设置的密码') WHERE user = 'root';
mysql> FLUSH PRIVILEGES;
mysqladmin -u root password oldpass "你要设置的新密码"
mysqld_safe --skip-grant-tables&mysql -u root mysql
mysql> UPDATE user SET password = PASSWORD("你要设置的新密码") WHERE user = 'root' ;
mysql> FLUSH PRIVILEGES;