Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webserver: SQL port configuration is not used #533

Open
mathitux opened this issue Apr 14, 2024 · 0 comments
Open

Webserver: SQL port configuration is not used #533

mathitux opened this issue Apr 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mathitux
Copy link

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

@TBlueF TBlueF added the bug Something isn't working label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready for next release
Development

No branches or pull requests

2 participants