Welcome to the MySQL monitor. Commands end with ; or \gYour MySQL connection id is 21 to server version: 4.1.12-nt Type 'help;' or '\h' for help. Type '\c' to clear
thebuffer. mysql> show database;
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 'database' at line 1
上面的没调整不好意思~
本人刚开始学习mysql,可能这个题目太菜,但是还是希望高手指点一下小弟。
这是为什么,win2003下~~·
thebuffer. mysql> show database;
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 'database' at line 1
上面的没调整不好意思~
本人刚开始学习mysql,可能这个题目太菜,但是还是希望高手指点一下小弟。
这是为什么,win2003下~~·
显示所有的数据库:show databases;
显示某一个数据库的所有表:show tables;