MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 4515|回复: 1
打印 上一主题 下一主题

安装集群配置成功 但现在各sql数据库服务不能启动

[复制链接]
跳转到指定楼层
1#
发表于 2009-6-5 13:32:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
安装集群配置成功 但现在各sql数据库服务不能启动

我安装了server
client

storage  engine
storage  engine management
storage  engine tool
配置成功 可以 ndb—mgm  show
可以看到各节点

但是在一个 node上 不能启动 mysql服务  不 知道什么 原因  

提示信息如下
[root@localhost mysql]# ./bin/mysqld_safe &
[2] 3275
[root@localhost mysql]# bash: ./bin/mysqld_safe: No such file or directory

[2]-  Exit 127                ./bin/mysqld_safe
[root@localhost mysql]# ./bin/mysqld_safe &
[2] 3276
[root@localhost mysql]# bash: ./bin/mysqld_safe: No such file or directory

[2]-  Exit 127                ./bin/mysqld_safe
[root@localhost mysql]# starting mysqld daemon with databases from /home/zzx2/mysql/data


[root@localhost mysql]# bash: ./bin/mysqld_safe: 没有那个文件或目录

[1]+  Exit 127                ./bin/mysqld_safe
[root@localhost mysql]# Starting mysqld daemon with database from /home/zzx2/mysql/data
bash: Starting: command not found
[root@localhost mysql]#
[root@localhost mysql]#


bash: starting: command not found
[root@localhost mysql]#


这里  ./bin/mysqld_safe &  不知道 什么意思 ,为什么以一定 要这样 。

现在用另外命令service mysql start 启动
在从机器上是成功的俄
但是在主机器 上提示如下错误:
starting mysql ......manger of pid-file quit without updating {failure}


log  error like this:

090604 21:26:32 mysqld_safe Starting mysqld daemon with databases from /home/zzx2/mysql/data
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
090604 21:26:33 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
090604 21:26:33  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
090604 21:26:33 mysqld_safe mysqld from pid file /home/zzx2/mysql/data/localhost.localdomain.pid endedv
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享淘帖 顶 踩
2#
发表于 2009-6-17 10:01:27 | 只看该作者
一看就知道你看的是“深入浅出”那本书吧
你的MySQL是用rpm还是二进制安装的?

检查:
环境变量没有配置好,找不到文件
还有就是mysql系统库,没有正确生成。

参考分类:
MySQL Cluster(集群)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-5-18 09:52 , Processed in 0.064890 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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