免费注册 查看新帖 |

Chinaunix

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

mysql启动不起来了(请高手看一下) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-08 12:55 |只看该作者 |倒序浏览
/usr/local/mysql/bin/mysqld_safe --user=mysql -pxxxxxx&
lve &
[1] 28575
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/localhost.pid
080908 12:15:31  mysqld ended

err 日志如下
080908 12:15:31  mysqld started
080908 12:15:31 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option '--skip-name-resovle'

080908 12:15:31  mysqld ended
请问如何能够重新启动mysql  --skip-name-resovle 是什么选项啊

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

回复 #1 zhubowen_636 的帖子

单词拼错了嘛,应该是 skip-name-resolve

论坛徽章:
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
3 [报告]
发表于 2008-09-08 14:46 |只看该作者
原帖由 denniswwh 于 2008-9-8 14:32 发表
单词拼错了嘛,应该是 skip-name-resolve



hoho

论坛徽章:
0
4 [报告]
发表于 2008-09-08 15:22 |只看该作者
原帖由 denniswwh 于 2008-9-8 14:32 发表
单词拼错了嘛,应该是 skip-name-resolve

谢谢 问题出的地方我知道了。但是我这边根本没有在启动里面加这些参数。我的mysql.cn
[mysqld]
port            = 3306
socket          = /tmp/mysql.sock
skip-locking
key_buffer = 460M
max_allowed_packet = 1M
table_cache = 512
sort_buffer_size = 8M
read_buffer_size = 4M
read_rnd_buffer_size = 12M
myisam_sort_buffer_size = 120M
thread_cache_size = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8

max_connections=2000
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking

# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin

# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
#server-id      = 1
--More--

里面没有设置类似的配置,这边接收不长。服务器不是我配置的。我想请问一下还有其他的地方可以加这个参数吗。
另外补充一下我当时由于mysql的root密码忘记,把mysql进程杀死后 就出现类似问题

论坛徽章:
0
5 [报告]
发表于 2008-09-08 16:36 |只看该作者

回复 #4 zhubowen_636 的帖子

在my.cnf里应该有的,你找找看,估计是哪个家伙加了这个参数一直没重启过,你一重启加载了这个参数就出错了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP