I got this thing to the database setup. When i put my login details and database name i recieve this error:
Error while trying to connect to the database server:
SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
What should this mean? I wish i could find a service where i just copy and paste the damn code in my site.
Error while trying to connect to the database server:
SQLSTATE[HY000] [2013] Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111
You’ll have to consult the freehostia sysadmins/tech support as it appears from their web site that they use a web server cluster, so there’s probably a special hostname for the mysql server.