I did some tests and have the connection working now with the following line added to the config_inc.php file:
$g_dsn = "mysqli://$g_db_username:$g_db_password@$g_hostname/$g_database_name?clientflags=" . MYSQLI_CLIENT_SSL;
Obviously this line must be added after the variables for the database ...
Search found 3 matches
- 30 Jul 2016, 16:58
- Forum: Help
- Topic: Cannot connect with database over SSL
- Replies: 6
- Views: 11786
- 29 Jul 2016, 15:04
- Forum: Help
- Topic: Cannot connect with database over SSL
- Replies: 6
- Views: 11786
Re: Cannot connect with database over SSL
Thanks for the response. I will try to modify the code and report back the results here.
- 29 Jul 2016, 06:18
- Forum: Help
- Topic: Cannot connect with database over SSL
- Replies: 6
- Views: 11786
Cannot connect with database over SSL
I recently installed MantisBT version 1.3.0 on a web server running Apache 2.4 and PHP 5.6.24. Our MariaDB database 10.1.24 where the MantisBT issues are stored is located in another data center. Because of that we prefer SSL encryption for all communications between the web server and the database ...