急!!问一个apache和一个mysql的问题!
默认安装了apache+php+mysql问题一
用以下命令修改了mysql的密码
mysqladmin -u root password (新的密码)
phpMyAdmin也可以正常使用,可是
# service mysqld restart
停止 MySQL: [确定]
Timeout error occurred trying to start MySQL Daemon.
启动 MySQL: [失败]
mysql日志:
040226 12:58:13/usr/libexec/mysqld: Normal shutdown
040226 12:58:13/usr/libexec/mysqld: Shutdown Complete
040226 12:58:13mysqld ended
040226 12:58:13mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the
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
ps -aux里显示的mysql用户执行的,mysql只有root帐号.如何让mysqld正常启动?
问题二
# service httpd restart
停止 httpd: [确定]
启动 httpd:httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [确定]
我开了猫的路由和NAT,用了动态域名,没有bind,named,自己用192.168.0.254来访问本机主页的,该怎么设置hostname?可以直接使用127.0.0.1,但不知有什么影响.
请问如何解决?我是新手,谢了先:) 你是哪个版本的?
我装的是redhat9,很正常的啊
我不喜欢用mysqladmin,你直接用sql命令给管理员加密就行了啊
自己多看点书,很多问题书上都有
页:
[1]