cs5117155 发表于 2018-5-16 20:33:47

mysql可以正常启动,可是mysql错误日志却有错误信息提示

这是我的错误信息
180516 20:27:04 Plugin 'FEDERATED' is disabled.
180516 20:27:04 InnoDB: The InnoDB memory heap is disabled
180516 20:27:04 InnoDB: Mutexes and rw_locks use GCC atomic builtins
180516 20:27:04 InnoDB: Compressed tables use zlib 1.2.8
180516 20:27:04 InnoDB: Initializing buffer pool, size = 512.0M
180516 20:27:04 InnoDB: Completed initialization of buffer pool
180516 20:27:04 InnoDB: highest supported file format is Barracuda.
180516 20:27:04InnoDB: Waiting for the background threads to start
180516 20:27:05 InnoDB: 5.5.56 started; log sequence number 1595675
180516 20:27:05 Server hostname (bind-address): '0.0.0.0'; port: 3306
180516 20:27:05    - '0.0.0.0' resolves to '0.0.0.0';
180516 20:27:05 Server socket created on IP: '0.0.0.0'.
180516 20:27:05 Event Scheduler: Loaded 0 events
180516 20:27:05 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.56-log'socket: '/tmp/mysql.sock'port: 3306Source distribution


==========my.cnf配置信息=======
root@jingmian:/var/log/mysql# cat /etc/my.cnf

#password
= your_password
port
= 3306
socket
= /tmp/mysql.sock


port
= 3306
socket
= /tmp/mysql.sock
datadir = /usr/local/mysql/var
skip-external-locking
key_buffer_size = 128M
max_allowed_packet = 1M
table_open_cache = 512
sort_buffer_size = 2M
net_buffer_length = 8K
read_buffer_size = 2M
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 32M
thread_cache_size = 64
query_cache_size = 64M
tmp_table_size = 64M
log_error =/var/log/mysql/errormysql.log

#skip-networking
max_connections = 500
max_connect_errors = 100
open_files_limit = 65535

log-bin=mysql-bin
binlog_format=mixed
server-id
= 1
expire_logs_days = 10

default_storage_engine = InnoDB
innodb_file_per_table = 1
innodb_data_home_dir = /usr/local/mysql/var
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /usr/local/mysql/var
innodb_buffer_pool_size = 512M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 128M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50


quick
max_allowed_packet = 16M


no-auto-rehash

#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file      = /var/log/mysql/mysql.log
#general_log             = 1
#
# Error log - should be very few entries.
#
#log_error =/tmp/errormysql.log



key_buffer_size = 128M
sort_buffer_size = 2M
read_buffer = 2M
write_buffer = 2M


interactive-timeout


每次重启服务器,都会提示以上错误,这是什么意思

licess 发表于 2018-5-17 09:13:54

没看到上面日志里有错误信息

cs5117155 发表于 2018-6-3 10:26:09

谢谢

问题已经解决,谢谢

[ 本帖最后由 cs5117155 于 2018-6-3 10:29 编辑 ]
页: [1]
查看完整版本: mysql可以正常启动,可是mysql错误日志却有错误信息提示