Skip to content

[Bug]: Wrong mysql socket location #33

Description

@OnniSaarni

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:

kuva

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions