Try to start server before truncate db (#1208)
This commit is contained in:
parent
b578a26225
commit
713a5b5ee1
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
# DELETE ALL TABLES
|
||||
service mysql start;
|
||||
TABLES=$(mysql --host ${MYSQL_HOST} --port ${MYSQL_PORT} -u root development -e "SHOW TABLES IN development;" | awk '{ print $1}' | grep -v '^Tables')
|
||||
|
||||
for t in $TABLES
|
||||
|
|
Loading…
Reference in New Issue