2010-03-04 13:50:13 +01:00
|
|
|
# *-*-shell-*-*
|
|
|
|
#
|
|
|
|
case ${ACTION} in
|
|
|
|
post)
|
2014-08-02 18:45:26 +02:00
|
|
|
install -dm0700 var/lib/mysql
|
|
|
|
usr/bin/mysql_install_db --user=mysql --keep-my-cnf --basedir=/usr --datadir=/var/lib/mysql
|
2012-08-06 07:21:26 +02:00
|
|
|
chown -R mysql:mysql var/lib/mysql
|
2010-03-04 13:50:13 +01:00
|
|
|
;;
|
|
|
|
esac
|