diff options
Diffstat (limited to 'extra/mysql/post-install')
-rwxr-xr-x | extra/mysql/post-install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/mysql/post-install b/extra/mysql/post-install index 0815530c8..5cef9dfec 100755 --- a/extra/mysql/post-install +++ b/extra/mysql/post-install @@ -1,6 +1,8 @@ #!/bin/sh - +/etc/rc.d/init.d/mysql stop 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 +/etc/rc.d/init.d/mysql start +mysql_upgrade -p |