2

So, I have a little issue with a program on Github.
- little ttest script in PHP PDO: works
- MySQL-CLI: works
- the program itself: doesn't work

In all 3 cases, the credentials are the same (checked a thousand times)
maintainer be like: "this issue is most likely caused by invalid credentials or the user that doesn't have the rights"

Not the case since the other 2 test cases did succeed --'

Comments
  • 0
    Are any errors thrown?

    You could add this to the sw to see if any PDO errors are thrown

    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  • 0
    @dayo It's a program in Laravel (I think?).

    The only errors I get right now are either "connection refused" or "can't find base table".
  • 0
    Did you check the firewall rules?
  • 0
    @MateTea42 jepp.

    Like I said: everything else can connect just fine (MySQL-CLI, little test PDO script, all 18 other applications I have running).. it's just this app that gives issues
  • 0
    Apparently, the issue all came down to something missing in the documentation.

    So obviously, I have committed a it to the documentation and issued a pull request :)
  • 0
    I hate it when that happens :/ Glad you found the solution to your problem.
Add Comment