mysql批改用户密码和远程访问

mysql修改用户密码和远程访问./mysql -u root -e update mysql.user set passwordpassword (CloudStor@

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