请问大侠,为什么mysql_select_db()在rh8+mysql3.23.52+php4.2.2+apache2.0.40中不好
请问大侠,为什么mysql_select_db()在rh8+mysql3.23.52+php4.2.2+apache2.0.40中不好用?
error:选择数据库失败,请帮忙!
在日志文件/var/log/mysqld中:
出现以下信息(这与选择数据库失败有没有关系?):
030522 09:39:32 mysqld 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 [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