New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found this PDOException occurred (enable debug mode) in message #1030
Comments
Hi. Something went wrong in the PDO driver. Please enable debug in the config and check the (HTTP) response headers in the network tab of the developer tools. Kind regards, Maurits |
There is a config setting named "debug" and it should be set to "true" and the "Headers" tab is two tabs to the left on the screenshot. |
i have found the error which why the connection is refused, so in my case the database is from another host let's say "10.9.0.0.1". Is there a way to pass the db host to the config model? |
Yes, you can set the "address", as per README:
from: https://github.com/mevdschee/php-crud-api?tab=readme-ov-file#configuration |
Okay got it, thanks! Cool project anyway keep it up |
i got this error when i tried to fetch the "users" table from my db of mysql
what is the possible error for this? thanks!
The text was updated successfully, but these errors were encountered: