Forums / Setup & design / Problem with 3.4.1 Database initialization
John Summerfield
Wednesday 08 September 2004 1:01:59 am
I am using mysql. I enter correctly, server name, user name and password, click "next" eZP coms back aith a nondescript msg that the connection failed. tcpdump cannot find any TCP/IP traffic. There are no messages in the mysql log. There is nothing useful in the Apache log.I hacekd around in the code and discovered this in /var/www/ez/documents/lib/ezdb/classes/ezmysqldb.php:
This connect fails (with and without the at): $connection = mysql_connect( $server, $user, $password, true )
I hardcoded a higher retry limit to force execution into the retry loop and discovered this connect works:$connection = @mysql_connect( $this->Server, $this->User, $this->Password )
Confused, I used var_dump() to print arguments' values. They're identical.
What might be wrong?