Hello,
I am trying to install OCS on a Linux box with SUSE 10.0. System info:
PHP 4.4.0 (cli) (built: Dec 10 2005 15:39:24)
mysql Ver 14.7 Distrib 4.1.13, for suse-linux (i686) using readline 5.0
Apache/2.0.54 (Linux/SUSE)
I have intstalled the mysql extensions for PHP. If I create the database manually, then the second install screen will lead to the tables being created. However, beyond the main screen, I get:
Install Open Conference Systems
Warning: mysql_query(): No database selected in /srv/www/htdocs/conference/include/db/db.mysql.inc.php on line 58
Conference Web Site Settings
Unable to add values to database. Please check that your database configuration is set up correctly.
I have checked that the named account for the conference can create tables, add data, etc. It works. However, it does not seem to be connecting.
From the apache2 error log, the same thing:
[Tue Feb 14 16:24:41 2006] [error] [client 142.167.207.21] PHP Warning: mysql_query(): No database selected in /srv/www/htdocs/conference/include/db/db.mysql.inc.php on line 58, referer:
http://descartes.acadiau.ca/conference/install.php
Nothing stands out in the php error log, which I have turned on.
Any suggestions?
Thanks,
John.