|
@ -287,13 +287,13 @@ function ee_update_latest() |
|
|
cp ~/.my.cnf /etc/mysql/conf.d/my.cnf &>> /dev/null |
|
|
cp ~/.my.cnf /etc/mysql/conf.d/my.cnf &>> /dev/null |
|
|
chmod 600 /etc/mysql/conf.d/my.cnf |
|
|
chmod 600 /etc/mysql/conf.d/my.cnf |
|
|
else |
|
|
else |
|
|
if [ -f /root/.my.cnf ] |
|
|
if [ -f /root/.my.cnf ] |
|
|
then |
|
|
then |
|
|
cp /root/.my.cnf /etc/mysql/conf.d/my.cnf &>> /dev/null |
|
|
cp /root/.my.cnf /etc/mysql/conf.d/my.cnf &>> /dev/null |
|
|
chmod 600 /etc/mysql/conf.d/my.cnf |
|
|
chmod 600 /etc/mysql/conf.d/my.cnf |
|
|
else |
|
|
else |
|
|
ee_lib_echo_fail ".my.cnf cannot be located in your current user or root." |
|
|
ee_lib_echo_fail ".my.cnf cannot be located in your current user or root." |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|