Skip to content

Commit

Permalink
Merge branch 'mysql-5.7' into mysql-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
ltangvald committed Feb 24, 2017
2 parents 7d02505 + a741f41 commit 2f7da62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/deb-in/extra/mysql-helpers
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ verify_database() {
MYSQLFILES=$(get_mysql_option mysqld secure-file-priv "/var/lib/mysql-files")

if [ ! -d "${MYSQLDATA}/mysql" ] && [ -d "${MYSQLFILES}" ]; then
su - mysql -s /bin/bash -c "mysqld --initialize-insecure > /dev/null"
su - mysql -s /bin/bash -c "/usr/sbin/mysqld --initialize-insecure > /dev/null"
SQL=$(mktemp -u ${MYSQLFILES}/XXXXXXXXXX)
install /dev/null -m0600 -omysql -gmysql "${SQL}"
cat << EOF > ${SQL}
Expand Down

0 comments on commit 2f7da62

Please sign in to comment.