Unable to connect when MySQL password contains "#"
viasnake opened this issue · 4 comments
Information
Environment information
Plugin + server version info:
Minepacks 2.3.4
paper 135
Online mode: false
BungeeCord: yes
Plugin config (optional)
Database:
SQL:
Host: localhost:3306
Database: Minepacks
User: root
Password: P@SS#WORD # "P@SS#WORD" or 'P@SS#WORD'
Details
Description
If the password contains "#", the password will not be read correctly.
To avoid this, enclose it in double quotes or quotes.
But it will be removed when Minepacks is updated and the config version is changed.
Steps to reproduce
Include "#" in password
Expected behavior
Values enclosed in double quotes or quotation marks in the config will be enclosed again in the config update
Should be fixed with this build: https://ci.pcgamingfreaks.at/job/Minepacks/187/artifact/a/Minepacks-2.3.5-RC2-Release.jar
In the latest build, double quotes remain when updating the config.
However, if you do not enclose the password with quotation or double quotation and the password contains "#", it is difficult to connect as before.
Should be fully fixed with this release: https://github.com/GeorgH93/Minepacks/releases/tag/v2.3.5