Donner un mot de passe à un utilisateur
Code:
1 2 3 4 5 6 7 8 9 10
| [troumad@portable][~/public_html/phpMyAdmin]$ mysql -u troumad -p
Enter password:
ERROR 1045 (28000): Access denied for user 'troumad'@'localhost' (using password: YES)
[troumad@portable][~/public_html/phpMyAdmin]$ mysql -u troumad
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 200 to server version: 5.0.19-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> |
Pourtant dans ma base de données vu sous administrateur avec phpMySql, j'ai :
Code:
Effacer localhost troumad Je_le_cache N N
Le champ que je cache correspond à Password et il a été rentré avec :
Code:
INSERT INTO `user` ( `Host` , `User` , `Password`......VALUES ('localhost', 'troumad', PASSWORD( 'MOT_DE_PASSE' ) ...
Il est où mon problème ? Comment mettre un mot de passe à mon utilisateur ?