|
@ -280,6 +280,11 @@ function ee_update_latest() |
|
|
#Move ~/.my.cnf to /etc/mysql/conf.d/my.cnf |
|
|
#Move ~/.my.cnf to /etc/mysql/conf.d/my.cnf |
|
|
if [ ! -f /etc/mysql/conf.d/my.cnf ] |
|
|
if [ ! -f /etc/mysql/conf.d/my.cnf ] |
|
|
then |
|
|
then |
|
|
|
|
|
#create conf.d folder if not exist |
|
|
|
|
|
if [! -d /etc/mysql/conf.d ] |
|
|
|
|
|
mkdir -p /etc/mysql/conf.d |
|
|
|
|
|
chmod 755 /etc/mysql/conf.d |
|
|
|
|
|
fi |
|
|
if [ -d /etc/mysql/conf.d ] |
|
|
if [ -d /etc/mysql/conf.d ] |
|
|
then |
|
|
then |
|
|
if [ -f ~/.my.cnf ] |
|
|
if [ -f ~/.my.cnf ] |
|
|