You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the sql.php file generated by the plugin in the web folder (to be placed on a custom web server), the $port parameter for specifying a custom SQL port is not used, but the var is defined on the user config part.
The line "$sql = new PDO("$driver:host=$hostname;dbname=$database", $username, $password);" is missing the ";port=$port".
The line should be:
$sql = new PDO("$driver:host=$hostname;port=$port;dbname=$database", $username, $password);
What i did / Steps to reproduce
In the sql.php file generated by the plugin in the web folder (to be placed on a custom web server), the $port parameter for specifying a custom SQL port is not used, but the var is defined on the user config part.
The line "
$sql = new PDO("$driver:host=$hostname;dbname=$database", $username, $password);
" is missing the ";port=$port
".The line should be:
$sql = new PDO("$driver:host=$hostname;port=$port;dbname=$database", $username, $password);
With this modification, the issue is solved.
Thanks !
Context
BlueMap Version:
Bluemap 3.20 - Pufferfish - Minecraft 1.20.4
The text was updated successfully, but these errors were encountered: