Cs cart 4.01 installation problem on "famous" 1and1 server

Hello



Is there any chance to install Cs cart 4.01 on managed dedicated server from 1and1?



I know the general opinion about 1and1, but still need to find a way to install it.



for db host i write (as they use socket): localhost:/tmp/mysql5.sock



1and1 tech. support suggested to upload the following php.ini to every folder which use database:

mysql.default_socket = /tmp/mysql5.sock
mysqli.default_socket = /tmp/mysql5.sock


Also they suggested to add the following line in config.local.php


ini_set('mysql.default_socket','/tmp/mysql5.sock');



after

if (!defined('BOOTSTRAP')) { die('Access denied'); }





Nothing helps so far. Always show errors:



Could not create database.

MySQL settings are not valid.





There was a solution from Triplets but it is for 2.1.1





May be CS CART team knows how to force the installation?



Thanks

OK problem solved.



For someone who still wants to use 1and1 managed dedicated server with cs cart 4.01



you have to add the following lines in config.local.php:


@ini_set('mysqli.default_socket','/tmp/mysql5.sock');
@ini_set('mysql.default_socket','/tmp/mysql5.sock');
@ini_set('pdo_mysql.default_socket','/tmp/mysql5.sock');




before


$config['db_host'] = '%DB_HOST%';



Important!!! during instalation in

MySQL server host: localhost





Good luck

Hi,

I tried to install cs-cart 4.2.2 and I get this error too, I also made changes like sok777 . Can anyone help?



Could not create database.

MySQL settings are not valid.

i am installing CS-Cart 4.3.3 and having the same error, even my server is reseller hosting, with (localhost) but still nothing, i have changed all file permissions but still nothing. so please can any CS-Cart team notice this major issue.?