aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-05-05 17:42:35 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2018-05-05 17:42:35 +0200
commitbe0422fe4348683a1cd62a8bed9b856e126987fb (patch)
tree019b26aee2e14e99223a05fa32e7a562b24efc48
parent.bashrc: add date aliases (diff)
downloadlinux-home-be0422fe4348683a1cd62a8bed9b856e126987fb.tar.gz
linux-home-be0422fe4348683a1cd62a8bed9b856e126987fb.zip
mysql.sh: `mysql --no-auto-rehash`
It's too slow over slow connections for huge databases otherwise.
-rw-r--r--%HOME%/.bash_utils/mysql.sh1
1 files changed, 1 insertions, 0 deletions
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" \