I see my MySQL logins on my home page

I have an issue with Magento which for me and also an issue due to the fact that when I quit the Mysql solution and also I attempt to head to my website I have this mistake:

PDOException: SQLSTATE[HY000] [2002] No such documents or directory site

which is typical yet what I do not discover is typical we can plainly see my mysql logins plainly on my web page as I can repair this and also I additionally have a concern why I do not have a mistake 404 web page rather than the web page with mysql logins

Thanks for your reaction.