Unable to complete install of version 2.0.3.1
Posted: Wed Aug 05, 2015 3:57 am
I am trying to install the Open Cart latest version on a 1and 1 managed server. We have moved all the files as directed, created a database and user on the server and are attempting to run the install script.
It fails repeatedly in step 3 of the 4 step process with the following error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). I've attached a screen capture of the screen with the error message. I've tried ports 3306 and 3316, neither made a difference.
I've contacted 1and1 support, and other than telling me that the database was created successfully and is accessible, they were not much help.
I used the following script as a file on the root drive of the server to test the database connection and connected, so there is no issue with the MySQL database.
<?php
$hostname="localhost:/tmp/mysql5.sock";
$username="dbo585945742";
$password="myPassword";
$link = mysql_connect("$hostname", "$username", "$password");
if (!$link) {
die('Connection failed: ' . mysql_error());
}
echo 'Connection successful';
mysql_close($link);
?>
Several questions, is there some sort of issue that I haven't seen with the install process for version 2.0.3.1?
Barring that, is there some sort of known issue with the installer on a 1and1 managed server?
Failing any solutions to correct the issue with the installer, does Open Cart have a step by step process to manually install the cart? I've used oscommerce for years, so am able to manually setup carts. I did some searches on the forums, but haven't run into any posts with the same sort of issue.
regards
It fails repeatedly in step 3 of the 4 step process with the following error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). I've attached a screen capture of the screen with the error message. I've tried ports 3306 and 3316, neither made a difference.
I've contacted 1and1 support, and other than telling me that the database was created successfully and is accessible, they were not much help.
I used the following script as a file on the root drive of the server to test the database connection and connected, so there is no issue with the MySQL database.
<?php
$hostname="localhost:/tmp/mysql5.sock";
$username="dbo585945742";
$password="myPassword";
$link = mysql_connect("$hostname", "$username", "$password");
if (!$link) {
die('Connection failed: ' . mysql_error());
}
echo 'Connection successful';
mysql_close($link);
?>
Several questions, is there some sort of issue that I haven't seen with the install process for version 2.0.3.1?
Barring that, is there some sort of known issue with the installer on a 1and1 managed server?
Failing any solutions to correct the issue with the installer, does Open Cart have a step by step process to manually install the cart? I've used oscommerce for years, so am able to manually setup carts. I did some searches on the forums, but haven't run into any posts with the same sort of issue.
regards