Mot de pass de mysql sous debian etch
Résolu/Fermé
A voir également:
- Mot de pass de mysql sous debian etch
- Voir mot de passe wifi android - Guide
- Mot de passe - Guide
- Trousseau mot de passe iphone - Guide
- Mot de passe administrateur - Guide
- Identifiant et mot de passe - Guide
3 réponses
Supprime l'option -p
et ensuite une fois connecté à mysql tu definis le mot de passe pour root.
exemple tiré de la doc mysql :
shell> mysql -u root
mysql> SET PASSWORD FOR ''@'localhost' = PASSWORD('nouveau_mot');
mysql> SET PASSWORD FOR ''@'host_name' = PASSWORD('nouveau_mot');
et ensuite une fois connecté à mysql tu definis le mot de passe pour root.
exemple tiré de la doc mysql :
shell> mysql -u root
mysql> SET PASSWORD FOR ''@'localhost' = PASSWORD('nouveau_mot');
mysql> SET PASSWORD FOR ''@'host_name' = PASSWORD('nouveau_mot');
bonjour, merci de votre réponse mais
c déja décommenté la ligne log = /var/log/mysql/mysql.log
et voila le contenue de fichier log
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
merciiiiiiiiiiii
c déja décommenté la ligne log = /var/log/mysql/mysql.log
et voila le contenue de fichier log
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
merciiiiiiiiiiii
bonjour
lorsque je fait
debian:/home/marwa# ps -aux | grep mysql
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sourceforge.net/faq.html
root 4227 0.0 0.0 3220 504 pts/2 S+ 09:51 0:00 tail -f /var/log/mysql/mysql.log
root 6676 0.0 0.1 3328 760 pts/1 R+ 11:20 0:00 grep mysql
?????????
lorsque je fait
debian:/home/marwa# ps -aux | grep mysql
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sourceforge.net/faq.html
root 4227 0.0 0.0 3220 504 pts/2 S+ 09:51 0:00 tail -f /var/log/mysql/mysql.log
root 6676 0.0 0.1 3328 760 pts/1 R+ 11:20 0:00 grep mysql
?????????
13 nov. 2008 à 16:25
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed
13 nov. 2008 à 16:28
il doit y avoir plus de précesion
14 nov. 2008 à 09:35
voici le contenu de fichier log
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.0.32-Debian_7etch6-log (Debian etch distribution). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
ça vous ressemble quelque chose?
merci!!!!!