Database error
Autor: Roermondse Onderwatersport Vereniging Website
Visited 2190,
Followers 2,
Udostępniony 0
Hello,
Thanks for your reply.
I did as you said and created a database on the server. I also wrote down the same data in step 1. But I still get this error:
Warning: mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/vhosts/r-o-v.nl/httpdocs/res/x5engine.php on line 4421
Warning: mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/vhosts/r-o-v.nl/httpdocs/res/x5engine.php on line 4421
Unable to connect to DB
website: http://www.r-o-v.nl/imlogin.php
Does anyone know how to connect it properly?
The servers makes use of MySQL 5.6
Posted on the
Hey,
Please check in you db definition in stpe 1, if you have no space in one of these paremeters (hostname, username, password)
If you have used copy/paste, this error could be raised.
Hope this helps
https://wsx5.afsoftware.fr
Autor
Thank you. Your picture was helpfull. I had to set an IP adress for hostname instaid of the real name of the host. I have managed to create a connection to the database