A Database Error Occurred

 A Database Error Occurred  (or sometimes Unable to connect to database server ) is a common error reported by web applications that depend on a database.

Examples

 * 2019-05-31 on https://www.memecreator.org/template/dr.-evil-air-quotes:

"A Database Error Occurred Unable to connect to your database server using the provided settings. Filename: core/Loader.php Line Number: 346"

"A Database Error Occurred Error Number: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use …"
 * 2019-05-31 on https://www.haugancruises.com/code/index.php/availability/infofecha (archived)

Apparently returned by a CodeIgniter application per: https://www.haugancruises.com/code/ (archived)

Common Development Question

 * https://stackoverflow.com/questions/21378338/database-error-occurred
 * https://community.esri.com/thread/229493-failed-to-connect-to-a-database-help
 * https://www.concrete5.org/community/forums/installation/unable-to-connect-to-database.-a-database-error-occurred-while-p