LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 529|回复: 2

fc1.0下自带的mysql的问题!

[复制链接]
发表于 2004-5-22 20:41:06 | 显示全部楼层 |阅读模式
[root@ruochen root]# /etc/rc.d/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
启动 MySQL:                                               [失败]
[root@ruochen root]# cd /var/log/
[root@ruochen log]# tail mysqld.log
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections
[root@ruochen log]# ps -ef |grep mysql
root      4193     1  0 20:41 pts/1    00:00:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
mysql     4217  4193  0 20:41 pts/1    00:00:00 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
root      4270  3998  0 20:43 pts/1    00:00:00 grep mysql
发表于 2004-5-23 19:14:46 | 显示全部楼层
分别依此运行:
mysql_install_db
mysqld &
mysqlshow
看看能不能看到数据库
 楼主| 发表于 2004-5-24 09:23:05 | 显示全部楼层
回头试试你的!
我是在安装系统的时候就安装的mysql

但是启动apache && phpmyadmin访问mysql没问题呀!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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