日期:2014-05-16  浏览次数:20710 次

mysql修改用户密码和远程访问
./mysql -u root -e "update mysql.user set password=password ('CloudStor@123')where User='root';grant all privileges on *.* to 'root'@'%' identified by 'CloudStor@123' with grant option;flush privileges"

mysqld
  skip-grant-tables