Fix MySQL grant init script
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
docker_process_sql --database=mysql <<-EOSQL
|
||||
mysql --protocol=socket -uroot -p"${MYSQL_ROOT_PASSWORD}" mysql <<-EOSQL
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, INDEX, DROP
|
||||
ON gis_spbu.* TO '${MYSQL_USER}'@'%';
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, INDEX, DROP
|
||||
|
||||
Reference in New Issue
Block a user