File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if [ "$1" = 'mysqld' ]; then
40
40
" $@ " --skip-networking --socket=/var/run/mysqld/mysqld.sock &
41
41
pid=" $! "
42
42
43
- mysql=( mysql --protocol=socket -uroot --socket=/var/run/mysqld/mysqld.sock)
43
+ mysql=( mysql --protocol=socket -uroot -hlocalhost - -socket=/var/run/mysqld/mysqld.sock)
44
44
45
45
for i in {30..0}; do
46
46
if echo ' SELECT 1' | " ${mysql[@]} " & > /dev/null; then
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if [ "$1" = 'mysqld' ]; then
40
40
" $@ " --skip-networking --socket=/var/run/mysqld/mysqld.sock &
41
41
pid=" $! "
42
42
43
- mysql=( mysql --protocol=socket -uroot --socket=/var/run/mysqld/mysqld.sock)
43
+ mysql=( mysql --protocol=socket -uroot -hlocalhost - -socket=/var/run/mysqld/mysqld.sock)
44
44
45
45
for i in {30..0}; do
46
46
if echo ' SELECT 1' | " ${mysql[@]} " & > /dev/null; then
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if [ "$1" = 'mysqld' ]; then
40
40
" $@ " --skip-networking --socket=/var/run/mysqld/mysqld.sock &
41
41
pid=" $! "
42
42
43
- mysql=( mysql --protocol=socket -uroot --socket=/var/run/mysqld/mysqld.sock)
43
+ mysql=( mysql --protocol=socket -uroot -hlocalhost - -socket=/var/run/mysqld/mysqld.sock)
44
44
45
45
for i in {30..0}; do
46
46
if echo ' SELECT 1' | " ${mysql[@]} " & > /dev/null; then
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if [ "$1" = 'mysqld' ]; then
40
40
" $@ " --skip-networking --socket=/var/run/mysqld/mysqld.sock &
41
41
pid=" $! "
42
42
43
- mysql=( mysql --protocol=socket -uroot --socket=/var/run/mysqld/mysqld.sock)
43
+ mysql=( mysql --protocol=socket -uroot -hlocalhost - -socket=/var/run/mysqld/mysqld.sock)
44
44
45
45
for i in {30..0}; do
46
46
if echo ' SELECT 1' | " ${mysql[@]} " & > /dev/null; then
You can’t perform that action at this time.
0 commit comments