2010-03-04 12:50:13 +00:00
|
|
|
# *-*-shell-*-*
|
|
|
|
#
|
|
|
|
case ${ACTION} in
|
|
|
|
post)
|
2014-08-02 16:45:26 +00: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 05:21:26 +00:00
|
|
|
chown -R mysql:mysql var/lib/mysql
|
2010-03-04 12:50:13 +00:00
|
|
|
;;
|
|
|
|
esac
|