Hi,
anyone whats wrong with this? why outputs a syntax error?
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 169 Server version: 5.0.51a-3ubuntu5.7 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> GRANT ALL PRIVILEGES ON . TO 'root'@'localhost' -> ; Query OK, 0 rows affected (0.14 sec)
mysql> IDENTIFIED BY 'm' WITH GRANT OPTION; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTIFIED BY 'new_password' WITH GRANT OPTION' at line 1 mysql>
Regards
Javi