fix mysql start command

parent 46e17b1d
......@@ -17,7 +17,7 @@ DO_MYSQL_PASS=
DO_MYSQL_DBNAME=carrierwave_test
DO_MYSQL_DATABASE=/${DO_MYSQL_DBNAME}
/usr/sbin/mysqld --no-defaults --initialize-insecure --datadir=${MYTEMP_DIR} --skip-name-resolve --user=${DO_MYSQL_USER}
mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force --skip-name-resolve --user=${DO_MYSQL_USER}
/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking &
echo -n pinging mysqld.
attempts=0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment