You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version

mysql> show databses;
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 'databses' at line 1
 mysql

解決方法sql

mysql> SET PASSWORD = PASSWORD('ali!,123@65');
Query OK, 0 rows affected, 1 warning (0.24 sec)orm

mysql> ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;
Query OK, 0 rows affected (0.02 sec)server

mysql>  flush privileges;
Query OK, 0 rows affected (0.00 sec)io

mysql> show databses;
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 'databses' at line 1
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |form

相關文章
相關標籤/搜索