The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
database connect problems - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4) +--- Thread: database connect problems (/showthread.php?tid=2426) |
database connect problems - filch - Apr 17th, 2013 Ran into an unusual issue here connecting to a database. I am getting the following error after setting up the connection info in the install script: The following error occurred: Sorry, we were unable to connect to the database using the information you supplied. The error message the database returned is: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Please double-check your database settings and click the Continue button again. I am able to connect using a standard connection script like: Code: <?php Any ideas on this? Dave RE: database connect problems - mrGarvin - May 8th, 2013 Are you using a a service like MAMP or WAMP? Sounds like a typical problem with the changes made to the location of the MySQL socket. Do a web search for "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock" together with your system (MAMP, WAMP) and you will find the solution...I don't think it has anything to do with FormTools. |