光纤熔接 ERP

弱电论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1452|回复: 0
打印 上一主题 下一主题

mysql服务一开机器就很卡.

[复制链接]
跳转到指定楼层
1#
发表于 2013-4-30 13:52:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
华为代理商
看事件查看器有mysql错误

MySQL:‘–default-character-set’ is deprecated

Event Type: Warning
Event Source: MySQL
Event Category: None
Event ID: 100
Date:  2010-12-17
Time:  3:19:39
User:  N/A
Computer: VISIONAPPSSERV
Description:
'--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
For more information, see Help and Support Center at [url=]http://www.mysql.com[/url].



‍'--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
‍' - 默认字符集'已过时,将在未来的版本中删除。请使用' - 字符集服务器'代替。
‍根据提示,我们在my.ini里修改信息,把两处default-character-set全部替换为character-set-server,这样就不会有错误提示







2错误
Changed limits: max_open_files: 2048  max_connections: 1910  table_cache: 64
解决:
在windows下安装Mysql系统日志出现 max_open_files: 2048 max_connections: 510 table_cache: 764 类似错误是因为 max_connections 最大连接数和max_open_files、table_cache 不匹配。适当的降低max_connections 或调整其他两个数值     解决办法在 mysql bin > 中输入 mysql-nt --table_cache=764mysql-nt --innodb_open_files=2048   即可!!table_cache和max_connections 在my.ini 里可调 Changed limits: max_open_files: 2048 max_connections: 1024 table_cache: 507max_connections=1024table_cache=500OK,问题解决



增加 tmp_table_size 值。mysql 的配置文件中,tmp_table_size 的默认大小是 32M。如果一张临时表超出该大小,MySQL产生一个 The table tbl_name is full 形式的错误,如果你做很多高级 GROUP BY 查询,增加 tmp_table_size
可以改为200M或者更高(my.ini)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏1 分享分享
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|广告咨询|VIP注册|关于我们|联系我们|积分规则|手机版|Archiver|弱电之家论坛 ( 京ICP备11008917号-3 )

GMT+8, 2024-5-19 07:35 , Processed in 0.131987 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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