Welcome Guest, Not a member yet? Register   Sign In
Database connection ERROR
#1

hello, i'm using a local db and i've no problem , but if i use an external db (phpmyadmin aruba) and use the correct credential i have this error:
A PHP Error was encountered
Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato.
Filename: mysqli/mysqli_driver.php
Line Number: 201
Backtrace:
File: E:\EasyPHP-DevServer-14.1VC9\data\localweb\twsfm\application\controllers\Pages.php
Line: 5
Function: __construct
File: E:\EasyPHP-DevServer-14.1VC9\data\localweb\twsfm\index.php
Line: 315
Function: require_once


A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: E:/EasyPHP-DevServer-14.1VC9/data/localweb/twsfm/system/database/DB_driver.php
Line Number: 436


I've check infite times the data and they are just fine...i create a file connect_db.php and tested the connection data and works fine.
I think the error is in the ip of the aruba db server : 89.46.111.47
Please somebody help me, i can't use a local db for this site.
again, user password namedb and ipserver db are correct.
Thanks
Hello
Reply
#2

It may be that access to the database is only allowed on the local network of the hosting company. Then you will not be able to access it from your *home.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB