summaryrefslogtreecommitdiffstats
path: root/extra/mysql/post-install
blob: 0815530c8dd597ae192037ce982debe202f59def (plain)
1
2
3
4
5
6
#!/bin/sh


mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql
chgrp mysql /srv/mysql{,/test,/mysql}
install -m755 -o mysql -g mysql -d /var/run/mysql