Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
dayo30457yAre 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); -
@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". -
@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 -
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 :)
Related Rants
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 --'
rant
github
incompetence