卸载lnmp1.0 装了lnmp1.2包 mysql 启动不了,军哥帮忙啊
# service mysql startStarting MySQL...The server quit without updating PID file cal/mysql/var/iZ23k1feognZ.pid).
日志见附件! 2016-04-26 23:53:47 18906 Incorrect definition of table mysql.proc: expected column 'comment' at position 15 to have type text, found type char(64).
2016-04-26 23:53:47 18906 /usr/local/mysql/bin/mysqld: Normal shutdown
可能原因是未删除 原来的/usr/local/mysql/var 数据库目录就进行了安装的原因,上传具体安装日志看看,也可以自己/usr/local/mysql/bin/mysql_upgrade -u root -p 看一下能否修复 不行,解决不了。
现在启动时提示
# service mysql start
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZ23k1feognZ.pid).
160427 16:33:43 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
2016-04-27 16:33:43 0 TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-04-27 16:33:43 31330 Plugin 'FEDERATED' is disabled.
2016-04-27 16:33:43 7f6ba85e7720 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-04-27 16:33:43 31330 InnoDB: Using atomics to ref count buffer pool pages
2016-04-27 16:33:43 31330 InnoDB: The InnoDB memory heap is disabled
2016-04-27 16:33:43 31330 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-04-27 16:33:43 31330 InnoDB: Memory barrier is not used
2016-04-27 16:33:43 31330 InnoDB: Compressed tables use zlib 1.2.3
2016-04-27 16:33:43 31330 InnoDB: Using CPU crc32 instructions
2016-04-27 16:33:43 31330 InnoDB: Initializing buffer pool, size = 16.0M
2016-04-27 16:33:43 31330 InnoDB: Completed initialization of buffer pool
2016-04-27 16:33:43 31330 InnoDB: Highest supported file format is Barracuda.
2016-04-27 16:33:43 31330 InnoDB: 128 rollback segment(s) are active.
2016-04-27 16:33:43 31330 InnoDB: Waiting for purge to start
2016-04-27 16:33:43 31330 InnoDB: 5.6.23 started; log sequence number 1625994
2016-04-27 16:33:43 31330 No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: c07c2996-0c52-11e6-a337-00163e024684.
2016-04-27 16:33:43 31330 Server hostname (bind-address): '*'; port: 3306
2016-04-27 16:33:43 31330 IPv6 is not available.
2016-04-27 16:33:43 31330 - '0.0.0.0' resolves to '0.0.0.0';
2016-04-27 16:33:43 31330 Server socket created on IP: '0.0.0.0'.
2016-04-27 16:33:43 31330 Event Scheduler: Loaded 0 events
2016-04-27 16:33:43 31330 /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.23-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
2016-04-27 16:33:45 31330 /usr/local/mysql/bin/mysqld: Normal shutdown
2016-04-27 16:33:45 31330 Giving 0 client threads a chance to die gracefully
2016-04-27 16:33:45 31330 Event Scheduler: Purging the queue. 0 events
2016-04-27 16:33:45 31330 Shutting down slave threads
2016-04-27 16:33:45 31330 Forcefully disconnecting 0 remaining clients
2016-04-27 16:33:45 31330 Binlog end
2016-04-27 16:33:45 31330 Shutting down plugin 'partition'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_FIELDS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_INDEXES'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_SYS_TABLES'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_FT_CONFIG'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_FT_DELETED'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_METRICS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_CMPMEM'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_CMP_RESET'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_CMP'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_LOCK_WAITS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_LOCKS'
2016-04-27 16:33:45 31330 Shutting down plugin 'INNODB_TRX'
2016-04-27 16:33:45 31330 Shutting down plugin 'InnoDB'
2016-04-27 16:33:45 31330 InnoDB: FTS optimize thread exiting.
2016-04-27 16:33:45 31330 InnoDB: Starting shutdown...
2016-04-27 16:33:46 31330 InnoDB: Shutdown completed; log sequence number 1626004
2016-04-27 16:33:46 31330 Shutting down plugin 'ARCHIVE'
2016-04-27 16:33:46 31330 Shutting down plugin 'BLACKHOLE'
2016-04-27 16:33:46 31330 Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-04-27 16:33:46 31330 Shutting down plugin 'MyISAM'
2016-04-27 16:33:46 31330 Shutting down plugin 'MRG_MYISAM'
2016-04-27 16:33:46 31330 Shutting down plugin 'CSV'
2016-04-27 16:33:46 31330 Shutting down plugin 'MEMORY'
2016-04-27 16:33:46 31330 Shutting down plugin 'sha256_password'
2016-04-27 16:33:46 31330 Shutting down plugin 'mysql_old_password'
2016-04-27 16:33:46 31330 Shutting down plugin 'mysql_native_password'
2016-04-27 16:33:46 31330 Shutting down plugin 'binlog'
2016-04-27 16:33:46 31330 /usr/local/mysql/bin/mysqld: Shutdown complete
160427 16:33:46 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 16:33:47 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 16:33:48 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 16:46:24 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 16:46:26 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 16:53:59 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 16:54:00 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 16:59:00 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 16:59:01 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 17:04:28 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 17:04:29 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 17:09:12 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 17:09:13 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
160427 17:11:26 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160427 17:11:27 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
回复 3# 的帖子
那只能备份数据用1.3安装试试了
页:
[1]