[CORE] [DATABASE] No message when database connection fails #102

Closed
opened 2023-01-08 11:26:04 +01:00 by rooty · 3 comments
Owner

When database connection fails (non-existent database, authentification error...), platform doesn't return any user message to inform about issue.

When database connection fails (non-existent database, authentification error...), platform doesn't return any user message to inform about issue.
rooty added the
bug
enhancement
live
master
labels 2023-01-08 11:26:04 +01:00
rooty self-assigned this 2023-01-08 11:26:04 +01:00
Author
Owner

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.

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.
rooty referenced this issue from a commit 2023-01-08 11:31:26 +01:00
Author
Owner

Commited on local repository and pushed to remote repository

Commited on local repository and pushed to remote repository
rooty added the
fixed
label 2023-01-08 11:33:22 +01:00
Author
Owner

Pulled on production

Pulled on production
rooty closed this issue 2023-01-08 11:55:53 +01:00
Sign in to join this conversation.
No description provided.