VPS侦探论坛

 找回密码
 注册
查看: 3577|回复: 3

卸载lnmp1.0 装了lnmp1.2包 mysql 启动不了,军哥帮忙啊

[复制链接]
发表于 2016-4-27 12:27:22 | 显示全部楼层 |阅读模式

[root@iZ23k1feognZ mysql]# service mysql start
Starting MySQL...The server quit without updating PID file [FAILED]cal/mysql/var/iZ23k1feognZ.pid).




日志见附件!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-4-27 16:15:52 | 显示全部楼层


2016-04-26 23:53:47 18906 [ERROR] 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 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

可能原因是未删除 原来的/usr/local/mysql/var 数据库目录就进行了安装的原因,上传具体安装日志看看,也可以自己/usr/local/mysql/bin/mysql_upgrade -u root -p 看一下能否修复
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-4-27 17:42:28 | 显示全部楼层

不行,解决不了。

现在启动时提示
[root@iZ23k1feognZ mysql]# service mysql start
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZ23k1feognZ.pid).



  1. 160427 16:33:43 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  2. 2016-04-27 16:33:43 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
  3. 2016-04-27 16:33:43 31330 [Note] Plugin 'FEDERATED' is disabled.
  4. 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.
  5. 2016-04-27 16:33:43 31330 [Note] InnoDB: Using atomics to ref count buffer pool pages
  6. 2016-04-27 16:33:43 31330 [Note] InnoDB: The InnoDB memory heap is disabled
  7. 2016-04-27 16:33:43 31330 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  8. 2016-04-27 16:33:43 31330 [Note] InnoDB: Memory barrier is not used
  9. 2016-04-27 16:33:43 31330 [Note] InnoDB: Compressed tables use zlib 1.2.3
  10. 2016-04-27 16:33:43 31330 [Note] InnoDB: Using CPU crc32 instructions
  11. 2016-04-27 16:33:43 31330 [Note] InnoDB: Initializing buffer pool, size = 16.0M
  12. 2016-04-27 16:33:43 31330 [Note] InnoDB: Completed initialization of buffer pool
  13. 2016-04-27 16:33:43 31330 [Note] InnoDB: Highest supported file format is Barracuda.
  14. 2016-04-27 16:33:43 31330 [Note] InnoDB: 128 rollback segment(s) are active.
  15. 2016-04-27 16:33:43 31330 [Note] InnoDB: Waiting for purge to start
  16. 2016-04-27 16:33:43 31330 [Note] InnoDB: 5.6.23 started; log sequence number 1625994
  17. 2016-04-27 16:33:43 31330 [Warning] 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.
  18. 2016-04-27 16:33:43 31330 [Note] Server hostname (bind-address): '*'; port: 3306
  19. 2016-04-27 16:33:43 31330 [Note] IPv6 is not available.
  20. 2016-04-27 16:33:43 31330 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
  21. 2016-04-27 16:33:43 31330 [Note] Server socket created on IP: '0.0.0.0'.
  22. 2016-04-27 16:33:43 31330 [Note] Event Scheduler: Loaded 0 events
  23. 2016-04-27 16:33:43 31330 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
  24. Version: '5.6.23-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
  25. 2016-04-27 16:33:45 31330 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

  26. 2016-04-27 16:33:45 31330 [Note] Giving 0 client threads a chance to die gracefully
  27. 2016-04-27 16:33:45 31330 [Note] Event Scheduler: Purging the queue. 0 events
  28. 2016-04-27 16:33:45 31330 [Note] Shutting down slave threads
  29. 2016-04-27 16:33:45 31330 [Note] Forcefully disconnecting 0 remaining clients
  30. 2016-04-27 16:33:45 31330 [Note] Binlog end
  31. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'partition'
  32. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
  33. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
  34. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
  35. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
  36. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
  37. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
  38. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
  39. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
  40. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
  41. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
  42. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
  43. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
  44. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
  45. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_FT_DELETED'
  46. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
  47. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_METRICS'
  48. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
  49. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
  50. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
  51. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
  52. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
  53. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
  54. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_CMPMEM'
  55. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_CMP_RESET'
  56. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_CMP'
  57. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
  58. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_LOCKS'
  59. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'INNODB_TRX'
  60. 2016-04-27 16:33:45 31330 [Note] Shutting down plugin 'InnoDB'
  61. 2016-04-27 16:33:45 31330 [Note] InnoDB: FTS optimize thread exiting.
  62. 2016-04-27 16:33:45 31330 [Note] InnoDB: Starting shutdown...
  63. 2016-04-27 16:33:46 31330 [Note] InnoDB: Shutdown completed; log sequence number 1626004
  64. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'ARCHIVE'
  65. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'BLACKHOLE'
  66. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
  67. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'MyISAM'
  68. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'MRG_MYISAM'
  69. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'CSV'
  70. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'MEMORY'
  71. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'sha256_password'
  72. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'mysql_old_password'
  73. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'mysql_native_password'
  74. 2016-04-27 16:33:46 31330 [Note] Shutting down plugin 'binlog'
  75. 2016-04-27 16:33:46 31330 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

  76. 160427 16:33:46 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  77. 160427 16:33:47 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  78. 160427 16:33:48 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  79. 160427 16:46:24 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  80. 160427 16:46:26 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  81. 160427 16:53:59 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  82. 160427 16:54:00 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  83. 160427 16:59:00 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  84. 160427 16:59:01 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  85. 160427 17:04:28 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  86. 160427 17:04:29 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  87. 160427 17:09:12 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  88. 160427 17:09:13 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
  89. 160427 17:11:26 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  90. 160427 17:11:27 mysqld_safe mysqld from pid file /usr/local/mysql/var/iZ23k1feognZ.pid ended
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-4-27 20:49:33 | 显示全部楼层

回复 3# 的帖子




那只能备份数据用1.3安装试试了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-29 05:28 , Processed in 0.026761 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表