基于 WordPress | 主题由 mg12 提供 | 通过 XHTML 1.1CSS 3 验证
  • MySQL 报错-解决

    今天在尝试导入一整个数据库之后,再次进入 mysql shell,一直出现奇怪的问题:

    mysql> use test
    Database changed
    mysql> show tables;
    Ignoring query to other database
    mysql>

    几乎所有指令都报这个错误。

    在执行多次: mysql -v -uroot 之后,就好了。
    依旧不知道这个问题的起因,以及明确的解决方法。

    —————————————

    8月14日更新:

    发现,现在如果用 mysql -root 进入 mysql shell,就总是出现同样的问题。
    但是若 mysql -uroot 则没有问题。

    2008年8月13日17:23

发表评论

XHTML: 您可以使用这些标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">
置顶