By longsiders1882 on
Hi All,
I should point out my tech skills are limited. I am currently using ez to build my site and was looking for alternatives.
I have download 4.6, extracted the files, created a database and used sql to import the file
when I try to access the site, I get this error
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/longsiders/webs/reliableit.co.uk/htdocs/includes/database.mysql.inc on line 31
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Can anybody help
Comments
database.mysql.inc
It looks like your user name and password isn't set correctly in your conf.php file.
Intallation problems
> Can't connect to local MySQL server through socket '/tmp/mysql.sock'
This is a MySQL configuration problem. You have to tell MySQL where to find the mysql.sock file. It's normally located under /var/run/mysql. Why most the installs default it to /tmp is beyond me.
The easiest way to fix this is to use an administration tool and look for the server settings area. There's usually an entry asking about where the socket file is located. I prefer mysqlcc but most other tools should work just fine.
I'd give you more specifics but my unix box is not in front of me right now...