Sunday, February 27, 2011

error with database

Hello,
I am having an issue with a cakephp site. I keep having an error in
connecting to mysql database though my database config seems correct.
Any suggetions.
Find below error messages

Warning (2): mysql_connect() [function.mysql-connect]: Can't connect
to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 540]
Code | Context

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: