[debian-mysql] Each mysql install lead to file owned by root instead of 'mysql' in /var/lib/mysql
Ghislain
gadnet at aqueos.com
Thu Dec 19 08:45:45 UTC 2013
hello there,
i think the issue lies here in postinst
line 122: chown -R mysql $mysql_statedir
but, run as root:
line 146 : bash /usr/bin/mysql_install_db --rpm 2>&1 | $ERR_LOGGER
the /usr/bin/mysql_install_db line should have '--user=mysql' or the
line 122 should be moved after this one i guess.
best regards,
Ghislain.
More information about the pkg-mysql-maint
mailing list