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
-
Wack63118y@Buzzuma probably there's a parameter file for your framework somewhere, try to look it up in the manual page of it. If you are using plain php, take a look at the mysqli functions.
What I could imagine: password wrong, port wrong (or not set, for example with Symfony you should set it to 3306 or what ever you have instead of null/empty) or host wrong/not set. Maybee you're trying to access a database where you don't have acces privileges (although root should probably have). To be honest, without knowing anything about your setup, I'm just guessing here.
Any solution?
undefined