WebSite X5Help Center

 
Roermondse Onderwatersport Vereniging Website
Roermondse Onderwatersport Vereniging Website
User

Database error  en

Auteur : Roermondse Onderwatersport Vereniging Website
Visité 2191, Followers 2, Partagé 0  
Mots-clés :: database,error

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 

Posté le
2 RéPONSES - 1 UTILES - 1 CORRECT
Axel  
Axel  
User

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

Lire plus
Posté le de Axel  
Roermondse Onderwatersport Vereniging Website
Roermondse Onderwatersport Vereniging Website
User
Auteur

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

Lire plus
Posté le de Roermondse Onderwatersport Vereniging Website