当前位置: 移动技术网 > IT编程>数据库>Mysql > Mysql中use表警告:Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

Mysql中use表警告:Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

2018年10月11日  | 移动技术网IT编程  | 我要评论

今天使用mysql登录数据库,use一个表的时候出现警告信息,详细如下:

后来上网查了一下,出现问题的原因是:

  进入mysql时,没有使用  -a  参数

  平时我们习惯使用:mysql -hhostname  -uusername -ppassword -pport

  使用参数-a:mysql  -hhostname  -uusername  -ppassword  -pport  -a  

  -a参数解释:

    当我们打开数据库,即use dbname时,要预读数据库信息,加上-a参数后,就不预读数据库信息。一般是我们的数据库变大的时候出现这样的问题。

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网