You are here:  » Database connection


Database connection

Submitted by JayJayS on Sun, 2015-05-31 11:01 in

I have a problem with the database connection.
I have the credentials checked repeatedly.
However, it wants to build a database connection.
These are the credentials of my provider:

{code saved}

And in my config.php:

{code saved}

I see no error!
Where is the problem?

MySQL-Version: 5.1
PHP-Version: 5.4

Submitted by support on Sun, 2015-05-31 11:10

Hello JayJay and welcome to the forum!

As your host is not using the default socket name I think you would need to do it like this; in your config.php instead of:

  $config_databaseServer = "localhost:/tmp/mysql5.sock";

...have a go with:

  ini_set('mysqli.default_so​cket', '/tmp/mysql5.sock');
  $config_databaseServer = "localhost";

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by JayJayS on Sun, 2015-05-31 11:31

Hello David

Thank you for the fast reply.
Unfortunately, this does not lead to success.
Other ideas?

Provider: 1&1

Submitted by support on Sun, 2015-05-31 11:41

Hi,

The next thing I would try is to remove the ini_set line and just try the default setting of;

   $config_databaseServer = "localhost";

If still no joy, i'd be more than happy to login and take a look for you; if that would be OK if you could complete the form on the Get It Installed page I'll check it out for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by JayJayS on Fri, 2015-06-12 01:23

Thank you for the fast support on sunday !