Help Center Live Community

Support => Installation Help & Software Support => Topic started by: darretking on June 10, 2008, 11:59:56 AM



Title: Will not install
Post by: darretking on June 10, 2008, 11:59:56 AM
I get the following message when I try to install:


Warning: mysql_connect() [function. mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld. sock' (2) in /home/. sherry/weddinic/weddinic. arbisoftprojects. com/hcl/class/database. php on line 48
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld. sock' (2)

Please help.


Title: Re: Will not install
Post by: Monty on June 10, 2008, 03:22:26 PM
What version of mysql are you running?  Is the database shared or has HCL got a database to itself?


Title: Re: Will not install
Post by: darretking on June 10, 2008, 03:28:04 PM
We have the latest version of SQL and the DB is on it's own.

thanks

Darret
www. weddinic. com


Title: Re: Will not install
Post by: Monty on June 10, 2008, 04:50:39 PM
Open class/database.php and on line 50 ensure $this->connection equals true

Please let me know if that does the trick.