Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3280398
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类: Mysql/postgreSQL

2009-05-02 02:45:23

# 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 表,所以查询出错

给我郁闷坏了

阅读(5658) | 评论(0) | 转发(0) |
0

上一篇:OpenBSD 4.5 released

下一篇:MySQL返回错误 1267

给主人留下些什么吧!~~