Could not open connection to server
Could not open connection to server
Driver
Posts: 23Questions: 0Answers: 0
I'm trying to run DataTables with my database, but I still have this message:
Could not open connection to server
I'm sure database connection information is OK, because it is taken from other working application on my server.
What should I do to resolve the problem?
Could not open connection to server
I'm sure database connection information is OK, because it is taken from other working application on my server.
What should I do to resolve the problem?
This discussion has been closed.
Replies
Allan
[code]
define('DB_NAME', 'my_database');
define('DB_USER', 'admin');
define('DB_PASSWORD', 'password');
define('DB_HOST', 'mydomain.pl:3307');[/code]
DataTables:
[code]$gaSql['user'] = "admin";
$gaSql['password'] = "password";
$gaSql['db'] = "my_database";
$gaSql['server'] = "mydomain.pl:3307";[/code]
This might be a problem?
If you aren't the db admin, talk to your db admin and find out what you need in order to get the connection working.