Skip to content

Commit 8660a07

Browse files
author
Lucas Riutzel
committed
new mariadb doesn't set correct datadir or something
1 parent c7c4304 commit 8660a07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-src/db/files/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ else
2525

2626
chown -R mysql:mysql /var/lib/mysql
2727

28-
mysql_install_db --user=mysql > /dev/null
28+
mysql_install_db --user=mysql --datadir=/var/lib/mysql > /dev/null
2929

3030
if [ "$MYSQL_ROOT_PASSWORD" = "" ]; then
3131
MYSQL_ROOT_PASSWORD=`pwgen 16 1`

0 commit comments

Comments
 (0)