免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 12796 | 回复: 23
打印 上一主题 下一主题

linux 下mysql安装完毕,应用正常,正常关机重启后服务不能启动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-29 16:56 |只看该作者 |倒序浏览
linux 下mysql安装完毕,应用正常,正常关机重启后服务不能启动:
使用: mysql  -u root -p 12345678
报错误: Can't connect to local MySQL server throungh socket '/var/lib/mysql/mysql.sock




使用:/etc/init.d/mysqld start
错误:Timeout error occurred trying to start MySQL Daemon

请高手指教如何解决?????

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
2 [报告]
发表于 2011-08-29 22:06 |只看该作者
日志。

论坛徽章:
0
3 [报告]
发表于 2011-08-30 09:11 |只看该作者
回复 1# yj411


    报错误: Can't connect to local MySQL server throungh socket '/var/lib/mysql/mysql.sock

论坛徽章:
0
4 [报告]
发表于 2011-08-30 09:40 |只看该作者
mysql运行日志为:

110830 09:35:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110830  9:35:01 [Note] Flashcache bypass: disabled
110830  9:35:01 [Note] Flashcache setup error is : ioctl failed

110830  9:35:01 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
110830  9:35:01  InnoDB: Initializing buffer pool, size = 1.0G
110830  9:35:02  InnoDB: Completed initialization of buffer pool
110830  9:35:02  InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110830  9:35:02  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Error: trying to add tablespace 21 of name './citic/atm_info.ibd'
InnoDB: to the tablespace memory cache, but tablespace
InnoDB: 21 of name './citiczj/newweb_xcdeh.ibd' already exists in the tablespace
InnoDB: memory cache!
110830 09:35:02 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

论坛徽章:
0
5 [报告]
发表于 2011-08-30 10:01 |只看该作者
遇到同样的问题,fedora mysql5.5.15、5.5.14

论坛徽章:
0
6 [报告]
发表于 2011-08-30 10:20 |只看该作者
高手呢?

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52戌狗
日期:2013-12-27 15:08:11
7 [报告]
发表于 2011-08-30 10:54 |只看该作者
进入安装目录 启动看下

论坛徽章:
0
8 [报告]
发表于 2011-08-30 10:59 |只看该作者
试过了还不行

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52戌狗
日期:2013-12-27 15:08:11
9 [报告]
发表于 2011-08-30 12:12 |只看该作者
Database was not shut down normally
好像是数据库坏了,有备份的话 个人觉得重新安装授权表吧

论坛徽章:
0
10 [报告]
发表于 2011-08-30 17:10 |只看该作者
有没有不需要重装的方法???????
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP