[CORE] [DATABASE] No message when database connection fails #102
Labels
No Label
bug
duplicate
enhancement
fixed
help wanted
invalid
live
live pull
local commit
master
php7_migration
php8_migration
question
remote push
template
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rooty/Qware_core#102
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When database connection fails (non-existent database, authentification error...), platform doesn't return any user message to inform about issue.
Issue is due to usage of old function mysql_err in PDO class.
Code has been updated to errorInfo() function in PDO class.
A PDOException catch has been added too.
Commited on local repository and pushed to remote repository
Pulled on production