|
楼主 |
发表于 2013-7-1 18:16:42
|
显示全部楼层
本帖最后由 daiyoko 于 2013-7-1 18:33 编辑
將 /var/log/syslog 最後的貼來看看,我可以用 mysql {:soso_e113:}- root@CUBIEBOARD2:/var/log# mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 37
- Server version: 5.5.31-0+wheezy1 (Debian)
- Copyright (c) 2000, 2013, 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 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> show databases;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- | test |
- +--------------------+
- 4 rows in set (0.00 sec)
- mysql>
复制代码 |
-
|