Tuesday 13 October 2009 11:13:25 pm
Is your problem still the mysql connection ? near line 164 on my ez420 in ezmysqldb.php it checks the connection. eZDebug::writeError( "Connection error: Couldn't connect to database. Please try again later or inform the system administrator.\n$dbErrorText", "eZMySQLDB" );
If not working you should have a message with an explicit error. Did you also try debugging with xdebug step by step debugger ? Especially just above you can put breakpoints:
if ( $this->UsePersistentConnection == true )
{
$connection = mysql_pconnect( $server, $user, $password );
}
else
{
$connection = mysql_connect( $server, $user, $password, true );
}
As you noticed you may check if something goes wrong due to persitence or not : ezdbinterface.php
if ( $parameters['use_persistent_connection'] == 'enabled' )
{
$this->UsePersistentConnection = true;
}
At least are you sure you're not using socket for your 4.0 and 4.1 version, and tcp for the 4.2. The database setting in your ini are the same ?
Pablo Pernot
http://www.smartview.fr
http://www.areyouagile.com
|