Open-Report-Parser
Open-Report-Parser copied to clipboard
[Bug]: Wrong mysql socket location
Describe the bug The script can not connect to a database because of a wrong mysql.sock location
To Reproduce I was using bitnami lamp which has mariadb installed by default and it has a different location for mysql.sock. Start the script without changing it manually from report.parser.pl
Expected behavior Script should have ran without any problems.
Software Version [X] Version 0 Alpha 5 [] Version 0 Alpha 4 [] Version 0 Alpha 3 [] Version 0 Alpha 2
Server (please complete the following information):
- Debian GNU/Linux 11 (bullseye) x86_64 AWS bitnami lamp
- Perl Version [e.g. 5.32
- MariaDB 11.2.3
Additional context
I fixed it by adding changing line 367 in report-parser.pl
:
Could be nice to have some kind of option to change that in the config.
Also changing MySQL my.cnf did not fix this issue.