root@srv:~# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14 to server version: 5.0.24a-Debian_9ubuntu2.4-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'password_you_want';
Query OK, 0 rows affected (0.00 sec)
mysql>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment