mirror of
https://github.com/opensupports/opensupports.git
synced 2025-04-08 18:35:06 +02:00
Try to start server before truncate db
This commit is contained in:
parent
3720baf370
commit
5b88e47202
@ -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…
x
Reference in New Issue
Block a user