miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

How to set up miniBB to use mySQL database with specific port

 
Author Paul
Lead Developer 
#1 | Posted: 25 Mar 2024 13:57 
The problem recently described by one of our constant customers: in order to improve the quality and security of services, the hosting company changed not just the connection Host, but also the connection Port, which differs from default 3306.

In miniBB settings, we don't have an option designed specifically for the custom port. In general, it's a very rare approach used on the hoster's side. However it's quite easy to work-around miniBB with such option.

The solution is simple: under $DBhost option of setup_options.php, specify the host followed by the port and separated by a colon.

Example: if the host is private.cloud.mysql.host and the port is 32311, specify the following:

$DBhost='private.cloud.mysql.host:32311';

How To miniBB Support Forums / How To /
 How to set up miniBB to use mySQL database with specific port
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑