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?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.