summaryrefslogtreecommitdiffstats
path: root/mysqld-wait-ready
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-02-08 18:54:33 +0100
committerRemi Collet <fedora@famillecollet.com>2013-02-08 18:54:33 +0100
commit2ca30afff3e168933508df3c17c8887bbdc1961f (patch)
tree3d6b1c76034d538bbf6164ab2043d97d7b57ea8b /mysqld-wait-ready
parent0603c4871846766a684067d02ba293000b726a56 (diff)
mysql: sync with rawhide
Diffstat (limited to 'mysqld-wait-ready')
-rw-r--r--mysqld-wait-ready2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqld-wait-ready b/mysqld-wait-ready
index 9b0fd0c..9e5d3e4 100644
--- a/mysqld-wait-ready
+++ b/mysqld-wait-ready
@@ -25,7 +25,7 @@ get_mysql_option(){
# Defaults here had better match what mysqld_safe will default to
get_mysql_option mysqld datadir "/var/lib/mysql"
datadir="$result"
-get_mysql_option mysqld socket "$datadir/mysql.sock"
+get_mysql_option mysqld socket "/var/lib/mysql/mysql.sock"
socketfile="$result"
# Wait for the server to come up or for the mysqld process to disappear