je viens de tout recommencer a 0
# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld140604 16:44:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
.
[1]+ Done mysqld_safe --skip-grant-tables
# mysqld_safe --skip-grant-tables &
[1] 25926
# 140604 16:44:27 mysqld_safe Logging to syslog.
140604 16:44:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.73-1 (Debian)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select host,user,password from user;
+--------------+------------------+-------------------------------------------+
| host | user | password |
+--------------+------------------+-------------------------------------------+
| localhost | root | *wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww |
| minusserveur | root | *xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 127.0.0.1 | root | *ffffffffffffffffffffffffffffffffffffffff |
| localhost | debian-sys-maint | *eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee |
| localhost | phpmyadmin | *zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz |
| localhost | roundcube | *rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr |
| % | joomla | *tttttttttttttttttttttttttttttttttttttttt |
+--------------+------------------+-------------------------------------------+
7 rows in set (0.00 sec)
mysql> update user set password=PASSWORD("xxxxxxxxxx") where User='root';
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit;
Bye
# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld140604 16:49:03 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
.
[1]+ Done mysqld_safe --skip-grant-tables
# /etc/init.d/mysql start
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
#
j’en ai encore fait une?