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

installation / update MySQL error when special Characters are in MySQL password #5409

Closed
anonymous-matomo-user opened this issue Jul 3, 2014 · 4 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Milestone

Comments

@anonymous-matomo-user
Copy link

An already working Piwik installation could not be Updated due to a mysql error. Several Updates went right but not it crashed.
Complete empty Database or complete new installation with old and new databases did not work ether.

Reason:
Special Characters in the MySQL Password are saved as HTML-Encoded.
So instead of a "" in my password an "& s e c t ;" (without the spaces) was written in the config file.

@anonymous-matomo-user
Copy link
Author

Attachment: bad replacement of special charackters in password
piwikPW_Bug.jpg

@mattab
Copy link
Member

mattab commented Jul 4, 2014

Thanks for the report. Also reported in: #341

@tsteur
Copy link
Member

tsteur commented Jul 8, 2014

In fc2718d: refs #5409 #341 #5349 if a config value contains a dollar sign convert it to an html entity to prevent it being interpreted as a PHP variable. This allows us to remove the RAW ini parser flag which causes trouble on some PHP versions as the parser seems to be buggy.

@tsteur
Copy link
Member

tsteur commented Jul 8, 2014

In dea3e06: refs #5409 make sure a group is set

@anonymous-matomo-user anonymous-matomo-user added this to the 2.5.0 - Piwik 2.5.0 milestone Jul 8, 2014
tsteur added a commit that referenced this issue Jul 9, 2014
…t it to an html entity to prevent it being interpreted as a PHP variable. This allows us to remove the RAW ini parser flag which causes trouble on some PHP versions as the parser seems to be buggy.
tsteur added a commit that referenced this issue Jul 9, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

3 participants