Skip to content

Commit 65eb4c7

Browse files
committed
fix mysql init for ubuntu 16.04
1 parent 1820107 commit 65eb4c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

install/ubuntu/16.04/mysql/my-large.cnf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ read_rnd_buffer_size = 4M
2828
myisam_sort_buffer_size = 64M
2929
thread_cache_size = 8
3030
query_cache_size= 16M
31-
thread_concurrency = 8
3231

3332
#innodb_use_native_aio = 0
3433
innodb_file_per_table

install/vst-install-ubuntu.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,9 @@ if [ "$mysql" = 'yes' ]; then
932932

933933
# Configuring MySQL/MariaDB
934934
wget $vestacp/mysql/$mycnf -O /etc/mysql/my.cnf
935-
mysql_install_db
935+
if [ "$release" != '16.04' ]; then
936+
mysql_install_db
937+
fi
936938
update-rc.d mysql defaults
937939
service mysql start
938940
check_result $? "mysql start failed"

0 commit comments

Comments
 (0)