SRSZI am doing some MYSQL & PHP & HTML-ish stuff

Posts 1–5 of 5 · Page 1 of 1
I am doing some MYSQL & PHP & HTML-ish stuff
It gives me this error :

MySQL Connection Error: php_network_getaddresses: getaddrinfo failed: Name or service not known

What I did ?

I bought domain + hosting from slovak provider.
Welp that provider gave me FTP + MYSQL details.

I uploaded stuff into FTP to get the web running , I setup my MYSQL and then I added details to MYSQL config , still not running.
I am lost , tried to google stuff and everything. Is there some MYSQL & PHP & HTML-ish Ninja ?
Sounds like your DNS isn't working. Switch to another DNS.
Quote Originally Posted by arunforce View Post
Sounds like your DNS isn't working. Switch to another DNS.
Well , that provided from who I bought that web domain with hosting also comes with DNS.

And it seems working. I am not sure if I added good details into mysql but I can login into MYSQL with same details so that should not be problem also I am connecting from localhost so that wont be problem , too.
Quote Originally Posted by Trol553 View Post
It gives me this error :

MySQL Connection Error: php_network_getaddresses: getaddrinfo failed: Name or service not known

What I did ?

I bought domain + hosting from slovak provider.
Welp that provider gave me FTP + MYSQL details.

I uploaded stuff into FTP to get the web running , I setup my MYSQL and then I added details to MYSQL config , still not running.
I am lost , tried to google stuff and everything. Is there some MYSQL & PHP & HTML-ish Ninja ?
Seems like you have put a url path where only the host url should be.
Quote Originally Posted by Hackinet View Post


Seems like you have put a url path where only the host url should be.
I already solved it it was wrong "$servername"

/thread
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us