I’m new at Infinity. Trying to get my website going. It worked with another provider.
Checked my user name and password, database name, etc. all is ok.
So don’t understand why I get the message
“Not connected : 2002No such file or directory”.
Thanks for your help
Oxy
November 24, 2021, 11:09pm
2
Hi and welcome to the forum
Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection.
Common Error Messages
Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…
If you have set the database hostname in a configuration file, but you still get this error, that’s usually caused by either an error in the configuration value or a bug in the script (where it doesn’t actually use the database hostname for the connection parameters).
Again, this error is 100% guaranteed to be caused by using localhost. There is no other situation where this error can occur.
4 Likes
Many thanks. Works great!
3 Likes
system
Closed
December 3, 2021, 12:38am
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.