mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Fix MySQL autostart issue on Ubuntu 14.04
This commit is contained in:
parent
667ae61355
commit
62c05fb08f
3 changed files with 19 additions and 1 deletions
|
@ -601,7 +601,9 @@ fi
|
|||
mpass=$(gen_pass)
|
||||
wget $CHOST/$VERSION/my.cnf -O /etc/mysql/my.cnf
|
||||
mysql_install_db
|
||||
update-rc.d mysql defaults
|
||||
if [ "$release" != '14.04' ]; then
|
||||
update-rc.d mysql defaults
|
||||
fi
|
||||
service mysql stop > /dev/null 2>&1
|
||||
service mysql start
|
||||
if [ "$?" -ne 0 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue