Устанавливаю на сервак roundcube. До этого уже установлена ispmanager с дефолтным SquirrelMail.
Скачал пакет, сгенерил конфиг, надо создавать базу. А она не создаётся.
# mysql
mysql: unknown variable 'long_query_time=10'
Вот конфиг, дефолтный конфиг с ispmanager'a:
# grep -v '#' /etc/mysql/my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
default-character-set = utf8
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
log-error=/var/log/mysql-errors.log
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
myisam-recover = BACKUP
connect_timeout = 120
query_cache_limit = 2M
query_cache_size = 64M
join_buffer_size = 1024M
tmp_table_size = 512M
max_heap_table_size = 512M
table_open_cache = 12192
table_cache = 12192
transaction-isolation = READ-COMMITTED
innodb_buffer_pool_size = 512M
innodb_flush_log_at_trx_commit = 2
innodb_flush_method = O_DIRECT
open_files_limit = 18200
expire_logs_days = 10
max_binlog_size = 100M
character-set-server = utf8
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
default-character-set = utf8
[mysql]
default-character-set = utf8
long_query_time = 10
log_slow_queries = /var/log/mysql/mysql-slow.log
log-queries-not-using-indexes
[isamchk]
key_buffer = 16M
!includedir /etc/mysql/conf.d/