I am new to this so please be kind. I cannot access my phpmyadmin to get to mysql data base to export to my live server after developing a Wordpress website on my localhost computer. I get the following error.
_#2002 - php_network_getaddresses: getaddrinfo failed: No such host is known. _
The server is not responding (or the local server’s socket is not correctly configured).
I am able to get into my Wamp server and can see my projects but can’t access them. All my files are on my local copy of my website and the website looks fine. Any clues would be much appreciated, I have tried saving the database from plugins but they also come up with errors.
seems like misconfiguration. it complains about the (DB?) server address not being found.
MySQL default port is 3306. Can you try putting it and then try.
Apologies for my ignorance but how do I change the default port to 3306?
Yes I kind of figured it was misconfigured but I don’t know how it came about or why? Any clues on how to reconfigure it correctly without losing all my data?
the PHP conf does not affect MySQL data.
since PHP complains in the first place. check the php.ini (resp. all ini files listed by
The port 3306 is already in. thanks anyway
Sorry I don’t understand what I am mean to be looking for in the php.ini file. Can you please explain further for me. Many thanks
look for PHP’s mysql(i) setup (hint, it usually contains ‘mysql’ in the option name).
Thanks for all your help. In the end it was as simple as replacing “127.0.0.1” with the words “localhost” in my WampManager config settings. I was looking in my database config settings.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.