Description
For a client program to be able to connect to the MySQL server, it must use the proper connection parameters, such as the name of the host where the server is running and the user name and password of your MySQL account.
When the connection to the database cannot be established, the server returns an error message including the MySQL username and host that were used. This information should not be present on a production system.
Remediation
Make sure the MySQL connection can be established and configure PHP not to display error messages.
Related Vulnerabilities
WordPress W3 Total Cache plugin predictable cache filenames
WordPress Plugin CodeArt-Google MP3 Player Arbitrary File Disclosure (1.0.11)
Joomla! Core 3.x.x Information Disclosure (3.8.0 - 3.9.13)
JetBrains .idea project directory
WordPress Plugin WP Attachment Export Arbitrary File Download (0.2.3)