美文网首页
mysql client的使用

mysql client的使用

作者: navyd | 来源:发表于2019-04-07 15:00 被阅读0次

    mysql command-line tool

    • 自动补全

    mysql提供参数auto-rehash自动补全部分信息enables database, table, and column name completion,默认启用。不能自动补全keyword

    启用方式mysql -uroot -p --auto-rehash 或 在配置文件.my.cnf [mysql]中指定auto-rehash

    如果修改了数据库信息,自动补全无效时可以使用命令mysql> rehash主动更新

    相关文章

      网友评论

          本文标题:mysql client的使用

          本文链接:https://www.haomeiwen.com/subject/dqdsiqtx.html