Disable syslog as it is not present in the container
This commit is contained in:
parent
8c213bc7ba
commit
73d30b9aa5
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ EOF
|
||||||
chown mysql:mysql /var/lib/mysql
|
chown mysql:mysql /var/lib/mysql
|
||||||
[ -z "$(ls -A /var/lib/mysql)" ] && mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
[ -z "$(ls -A /var/lib/mysql)" ] && mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
||||||
|
|
||||||
/usr/bin/mysqld_safe &
|
/usr/bin/mysqld_safe --skip-syslog &
|
||||||
|
|
||||||
until ls /var/run/mysqld/mysqld.sock; do sleep 1; done
|
until ls /var/run/mysqld/mysqld.sock; do sleep 1; done
|
||||||
/usr/bin/mysqladmin -u root password ${MYSQL_PASSWORD} || true
|
/usr/bin/mysqladmin -u root password ${MYSQL_PASSWORD} || true
|
||||||
|
|
Reference in a new issue