Forums / Setup & design / Problem with 3.4.1 Database initialization

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Problem with 3.4.1 Database initialization

Author Message

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?