my.cnf整个配置文件没有改吧,参照jira官网指导加下内容就可以了
[mysqld]
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links = 0
#
http://www.percona.com/blog/2008/05/31/dns-achilles-heel-mysql-installation/skip_name_resolve
#将默认存储引擎设置为 InnoDB:
default-storage-engine=INNODB
#指定数据库服务器使用的字符集:
character_set_server=utf8mb4
#将默认行格式设置为 :DYNAMIC
innodb_default_row_format=DYNAMIC
#启用大前缀:
innodb_large_prefix=ON
#将InnoDB文件格式设置为梭子鱼:
innodb_file_format=Barracuda
#将 的值指定为 至少为 2G:innodb_log_file_size
innodb_log_file_size=2G
#确保sql_mode参数未指定NO_AUTO_VALUE_ON_ZERO
sql_mode = NO_AUTO_VALUE_ON_ZERO
!includedir /etc/my.cnf.d