我在Debian中安装了Mysql5.5,并尝试启动它,但是它在两天内始终报告错误“忽略无效的环境分配”!
我尝试搜索Google和Bing,但这失败了。
错误: 1月10日13:44:03 debian systemd [1]:mysql55.service:忽略无效 环境分配'log-error = / var / mysql55 / log / mysql55.log':/etc/my.cnf 1月10日13:44:03 debian systemd [1]:mysql55.service:忽略无效 环境分配'symbolic-links = 0':/etc/my.cnf 1月10日13:44:03 debian systemd [1]:mysql55.service:忽略无效 环境分配'character-set-server = utf8':/etc/my.cnf 1月10日13:44:03 debian systemd [1]:mysql55.service:忽略无效 环境分配'log-bin = mysql-bin':/etc/my.cnf 1月10日13:44:03 debian systemd [1]:mysql55.service:忽略无效 环境分配'server-id = 1':/etc/my.cnf 1月10日13:44:03 debian systemd [1]:mysql55.service:忽略无效 环境分配'pid-file = / var / mysql55 / run / mysql55.pid':/etc/my.cnf
my.cnf文件: [客户] 端口= 3307 套接字= /tmp/mysql.sock [mysqld] 端口= 3307 套接字= /tmp/mysql.sock 日志错误= / var / mysql55 / log / mysql55.log symbolic-links = 0 语言= / usr / local / mysql55 / share / english 字符集服务器= utf8 跳过外部锁定 跳过名称解析 max_connections = 1024 query_cache_size = 16M sort_buffer_size = 1M table_cache = 256 innodb_buffer_pool_size = 128M innodb_additional_mem_pool_size = 4M innodb_log_file_size = 128M innodb_log_files_in_group = 2 innodb_log_buffer_size = 2M innodb_flush_log_at_trx_commit = 1 thread_concurrency = 8 log-bin = mysql-bin 服务器ID = 1 pid文件= / var / mysql55 / run / mysql55.pid basedir = / usr / local / mysql55 datadir = /数据