Mitesh Shah
11 years ago
3 changed files with 14 additions and 14 deletions
@ -1,10 +1,9 @@ |
|||||
# Setup mysql |
# Setup MySQL |
||||
|
|
||||
ee_lib_setup_mysql() |
ee_lib_setup_mysql() |
||||
{ |
{ |
||||
# personal settings for mysql |
ee_lib_echo "Setting up MySQL, please wait..." |
||||
ee_lib_echo "Updating MySQL Configuration Files, Please Wait..." |
|
||||
|
|
||||
# Decrease mysql wait timeout |
# Decrease mysql wait timeout |
||||
sed -i "/#max_connections/a wait_timeout = 30 \ninteractive_timeout = 60" /etc/mysql/my.cnf |
sed -i "/#max_connections/a wait_timeout = 30 \ninteractive_timeout = 60" /etc/mysql/my.cnf |
||||
} |
} |
||||
|
Loading…
Reference in new issue