[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mot de passe et utilisateur, mysql...



Michel Grentzinger a écrit :
Le Mardi 20 Juin 2006 18:23, Hugues LARRIVE a écrit :
Shams Fantar a écrit :
Slt la ML,

Savez-vous quel est le nom d'utilisateur et le mot de passe par défaut
pour phpmyadmin sous Debian testing ?
Phpmyadmin est une interface web pour mysql et n'a donc ni utilisateur
ni mot de passe, c'est mysql qui en a.

Essaie ça :
# dpkg-reconfigure mysql-server-5.0


Sinon, Debian génère un utilisateur pour les besoins de mise à jour. Son mot de passe est dans : /etc/mysql/debian.cnf


Extrait de /usr/share/doc/mysql-server-5.0/README.Debian.gz :


* MYSQL WON'T START OR STOP?:
=============================
You may never ever delete the special mysql user "debian-sys-maint". This
user together with the credentials in /etc/mysql/debian.cnf are used by the
init scripts to stop the server as they would require knowledge of the mysql
root users password else.
So in most of the times you can fix the situation by making sure that the
debian.cnf file contains the right password, e.g. by setting a new one
(remember to do a "flush privileges" then).


F.



Reply to: