void-packages/srcpkgs/mysql/INSTALL

10 lines
211 B
Plaintext
Raw Normal View History

# *-*-shell-*-*
#
case ${ACTION} in
post)
install -dm0700 var/lib/mysql
usr/bin/mysql_install_db --user=mysql --keep-my-cnf --basedir=/usr --datadir=/var/lib/mysql
chown -R mysql:mysql var/lib/mysql
;;
esac