From be0422fe4348683a1cd62a8bed9b856e126987fb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 5 May 2018 17:42:35 +0200 Subject: mysql.sh: `mysql --no-auto-rehash` It's too slow over slow connections for huge databases otherwise. --- %HOME%/.bash_utils/mysql.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/%HOME%/.bash_utils/mysql.sh b/%HOME%/.bash_utils/mysql.sh index b70a8b3..f57199c 100644 --- a/%HOME%/.bash_utils/mysql.sh +++ b/%HOME%/.bash_utils/mysql.sh @@ -37,6 +37,7 @@ runsql() ( fi mysql \ + --no-auto-rehash \ --user="$MYSQL_USER" \ --password="$MYSQL_PASSWORD" \ --host="$MYSQL_HOST" \ -- cgit v1.2.3