fomalhaut
Member
- Messages
- 107
- Reaction score
- 0
- Points
- 16
Hello.
While the Mysql update, if I try to connect my website, I got a (normal) error.
What must I change for not display secret things, like user, password ? Here is the message I have :
Thanks if you can help me.
While the Mysql update, if I try to connect my website, I got a (normal) error.
What must I change for not display secret things, like user, password ? Here is the message I have :
(naturelly, I've masked the real user, password ecc. by usr, ident, dbName...)<br />
<b>Fatal error</b>: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'usr_ident'@'int.chopin.x10hosting.com' to database 'usr_dbName'' in /home/usr/public_html/repinc/DBase.inc:4
Stack trace:
#0 /home/usr/public_html/repinc/DBase.inc(4): PDO->__construct('mysql:host=loca...', 'usr_ident', 'password')
#1 /home/usr/public_html/index.php(5): include('/home/usr/publi...')
#2 {main}
thrown in <b>/home/usr/public_html/repinc/DBase.inc</b> on line <b>4</b><br />
Thanks if you can help me.