Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 54 Server version: 5.7.18-log MySQL Community Server (GPL)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show tables; ERROR 1046 (3D000): No database selected mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | +--------------------+ 1 row in set (0.06 sec)
是这样吗?
uidab
2017-04-29 16:09
问题是我电脑上也装有mysql。 你看看是不是mysql的动态库没有?
y1363386323
2017-04-29 16:09
uidab:Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 54 Server version: 5.7.18-log MySQL Community Server (GPL) ....... (2017-04-29 16:05)
对,是这样的啊
y1363386323
2017-04-29 16:12
uidab:Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 54 Server version: 5.7.18-log MySQL Community Server (GPL) ....... (2017-04-29 16:05)