I can not find -no-auto-rehash config in system varaibles

213 Views Asked by At

i am trying to find if auto rehash is enabled or not basically trying to find -no-auto-rehash is applied to DB or not. how can i check that.

I tried looking in all system variables but can't find that

1

There are 1 best solutions below

2
Bill Karwin On

auto-rehash is not a server variable or a database property. It's a client option.

https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html#option_mysql_auto-rehash

If you want to disable it, start the mysql client like this:

mysql --disable-auto-rehash