mysql -u root -p mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘PASSWORD’ WITH GRANT OPTION; mysql> FLUSH PRIVILEGES; mysql> exit
mysql -u root -p mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘PASSWORD’ WITH GRANT OPTION; mysql> FLUSH PRIVILEGES; mysql> exit