Résolu: Mysql root login

I installed a new debian squeeze.
Configured mysql as said with ‘root’ and somme password
It worked fine.

I visited some malicious sites.
Mysql said :'connexion refused for user root;…" with the password I creayted, or without it; so nothing worked as i needed root connexion to make some grants.
I looked at the cnf files: some were dated with the date of installation, some with a previous date (4/12/2012)
I did not think about saving the cnf files at this time…
Due to the forums, I could make mysql work again.
My question is:
Can a malicious site modify some parameters of mysql?

The answer is no and comme it is a french forum, it’s in fact non or your SQL server is really mal configuré for instance by giving the root access to the server apache (which is a big connerie in fact). You can retrieve the root access à ton mySQL by doing xwhat is described in this post:

debian-fr.org/changer-le-mot … ml#p134180

but it’s seems you already have done this.

Look at the mySQL access in your PHP scripts, you must NOT give access the root’s rights to apache.