Skip to content

Commit ae3e397

Browse files
committed
trying to debug why I get this failure:
$ mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) The command "mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'" failed and exited with 1 during .
1 parent 1d43395 commit ae3e397

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ install:
4343

4444
before_script:
4545
# set up mysql database
46+
- ls -l /var/run/mysqld/mysqld.sock
47+
- sudo service mysql restart
48+
- sleep 60
4649
- mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
4750

4851
# set up postgresql database

0 commit comments

Comments
 (0)