免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: yxyup
打印 上一主题 下一主题

紧急,mysqld错误 [复制链接]

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
11 [报告]
发表于 2008-08-14 11:22 |只看该作者
080813 21:54:07 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
080813 21:54:07 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them


这两个错误还是第一次见

论坛徽章:
0
12 [报告]
发表于 2008-08-14 14:31 |只看该作者

回复 #11 ruochen 的帖子

080813 21:54:07 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
080813 21:54:07 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
这个可能是连带反映
:em11:
参数不是越大越好(毕竟你的内存是个有限值)
呵呵:em11:

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
13 [报告]
发表于 2008-08-14 15:31 |只看该作者
原帖由 gogo407 于 2008-8-14 14:31 发表
080813 21:54:07 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
080813 21:54:07 [Warning] Can't open and lo ...



哦,谢谢你的解释

080813 21:54:06  InnoDB: Started; log sequence number 0 43655
^G/usr/local/mysql/bin/mysqld: Out of memory (Needed 59381760 bytes)

其实第一个错误是有Out of memory 的
解决错误的时候肯定是从第一个开始慢慢向后排除的

论坛徽章:
0
14 [报告]
发表于 2008-08-15 09:14 |只看该作者
参数已做调整,现在如下,

[mysqld]
#delay_key_write         = all
max_connections         = 500
max_connect_errors      = 100000
key_buffer              = 256M
myisam_sort_buffer_size = 51200000
join_buffer_size        = 2097152
read_buffer_size        = 4194304
sort_buffer_size        = 4194304
table_cache             = 1000
thread_cache_size       = 80
max_join_size           = 512000000
max_binlog_cache_size   = 512000000
tmp_table_size          = 102400000
max_heap_table_size     = 102400000
read_rnd_buffer_size    = 5242880
bulk_insert_buffer_size = 64M
thread_concurrency      = 2
query_cache_limit       = 4000000
query_cache_size        = 0
query_cache_type        = 1
wait_timeout            = 7200
interactive_timeout     = 7200
skip-innodb
skip-bdb
[root@5co2 data]#


但问题并没有解决,情况如下



080814 22:00:18  mysqld started
080814 22:00:18 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
080814 22:00:18 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
080814 22:00:19 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.0.26-standard'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Edition - Standard (GPL)

Number of processes running now: 0
080814 22:53:47  mysqld restarted
080814 22:53:48 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
080814 22:53:48 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
080814 22:53:48 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.0.26-standard'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Edition - Standard (GPL)

Number of processes running now: 0
080814 23:17:23  mysqld restarted
^G/usr/local/mysql/bin/mysqld: Out of memory (Needed 237527040 bytes)
^G/usr/local/mysql/bin/mysqld: Out of memory (Needed 178145280 bytes)
^G/usr/local/mysql/bin/mysqld: Out of memory (Needed 133607424 bytes)
^G/usr/local/mysql/bin/mysqld: Out of memory (Needed 100205568 bytes)
^G/usr/local/mysql/bin/mysqld: Out of memory (Needed 75153408 bytes)
080814 23:17:23 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
080814 23:17:23 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
080814 23:17:23 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.0.26-standard'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Edition - Standard (GPL)

[ 本帖最后由 yxyup 于 2008-8-15 09:49 编辑 ]

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
15 [报告]
发表于 2008-08-15 09:25 |只看该作者
080814 21:52:12 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-innode'

这里笔误?应该是INNODB

论坛徽章:
0
16 [报告]
发表于 2008-08-15 09:50 |只看该作者
原帖由 枫影谁用了 于 2008-8-15 09:25 发表
080814 21:52:12 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-innode'

这里笔误?应该是INNODB



这是我写错了,但这个不是问题根源

[ 本帖最后由 yxyup 于 2008-8-15 13:39 编辑 ]

论坛徽章:
0
17 [报告]
发表于 2008-08-23 14:42 |只看该作者
兄弟,你是直接把mysql4的var拷到mysql5上使用的吧?如果是的话,得先rebuild一下.

论坛徽章:
0
18 [报告]
发表于 2008-08-25 17:47 |只看该作者
原帖由 石展 于 2008-8-23 14:42 发表
兄弟,你是直接把mysql4的var拷到mysql5上使用的吧?如果是的话,得先rebuild一下.

lz 应该不至于这样吧,关注:)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP