• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database connection ERROR

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
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 :
Please somebody help me, i can't use a local db for this site.
again, user password namedb and ipserver db are correct.

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.