# mysql wikidb -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.51a OpenBSD port: mysql-server-5.0.51a
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show tables;
+-------------------+
| Tables_in_wikidb |
+-------------------+
| archive |
| categorylinks |
| externallinks |
| filearchive |
| hitcounter |
| image |
| imagelinks |
| interwiki |
| ipblocks |
| job |
| langlinks |
| logging |
| math |
| objectcache |
| oldimage |
| page |
| page_restrictions |
| pagelinks |
| protected_titles |
| querycache |
| querycache_info |
| querycachetwo |
| recentchanges |
| redirect |
| revision |
| searchindex |
| site_stats |
| templatelinks |
| text |
| trackbacks |
| transcache |
| user |
| user_groups |
| user_newtalk |
| watchlist |
+-------------------+
35 rows in set (0.03 sec)
mysql> desc log;
ERROR 1146 (42S02): Table 'wikidb.log' doesn't exist
由于数据库中没有 log 表,所以查询出错
给我郁闷坏了
阅读(5713) | 评论(0) | 转发(0) |