LedZepmann Posted December 10, 2014 Posted December 10, 2014 Hello All I am attempting to install my first PW site on GoDaddy hosting using GoDaddy's Web & Classic Linux hosting. All is good with the install up to the point where I created the database. Upon entering the DB Name, User, Pass and clicking continue, I get the following PW error messages: Database connection information did not work.SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Does anyone have any experience with this and know how to correct it? Thanks!
arjen Posted December 10, 2014 Posted December 10, 2014 Hi Led, What if you change "localhost" to "127.0.0.1"? And make sure PDO is enabled. 2
cstevensjr Posted December 10, 2014 Posted December 10, 2014 Have you tried using the actual hostname or ip address? 1
LedZepmann Posted December 10, 2014 Author Posted December 10, 2014 Have you tried using the actual hostname or ip address? Hi cstevensjr, the server IP address did the trick - thank you!
pwired Posted December 10, 2014 Posted December 10, 2014 In Cpanel you can find what your host is using for database host name and also ftp host name.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now