[quote=“syam”]Reprenons dans l’ordre…
Quelle version utilises-tu précisément ?
Ensuite, connecte toi “normalement” avec debian-sys-maint (sans skip-grant-tables préalable), et donne nous le résultat de ces requêtes :
SELECT user,host FROM mysql.user;
SELECT host,db FROM mysql.host;
SELECT user,host,db FROM mysql.db;
SELECT PASSWORD('test');
[/quote]
Syam,
voici le résultat
ii libdbd-mysql-perl 4.007-1+lenny1 A Perl5 database interface to the MySQL database
ii libmysqlclient15off 5.0.51a-24+lenny3 MySQL database client library
ii libqt4-sql-mysql 4.4.3-1+lenny1 Qt 4 MySQL database driver
ii mysql-admin 5.0r12-1 GUI tool for intuitive MySQL administration
ii mysql-client-5.0 5.0.51a-24+lenny3 MySQL database client binaries
ii mysql-common 5.0.51a-24+lenny3 MySQL database common files
ii mysql-gui-tools-common 5.0r12-1 Architecture independent files for MySQL GUI Tools
ii mysql-query-browser 5.0r12-1 Official GUI tool to query MySQL database
ii mysql-server 5.0.51a-24+lenny3 MySQL database server (metapackage depending on the latest ver
ii mysql-server-5.0 5.0.51a-24+lenny3 MySQL database server binaries
ii php5-mysql 5.2.6.dfsg.1-1+lenny8 MySQL module for php5
[code]debian:/home/artex# mysql -u debian-sys-maint -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 72
Server version: 5.0.51a-24+lenny3 (Debian)
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql> SELECT user,host FROM mysql.user;
±-----------------±-----+
| user | host |
±-----------------±-----+
| debian-sys-maint | |
±-----------------±-----+
1 row in set (0.00 sec)
mysql> SELECT host,db FROM mysql.host;
Empty set (0.00 sec)
mysql> SELECT user,host,db FROM mysql.db;
Empty set (0.00 sec)
mysql> SELECT PASSWORD(‘test’);
±------------------------------------------+
| PASSWORD(‘test’) |
±------------------------------------------+
| *94BDCEBE19083CE2A1F959FD02F964C7AF4CFC29 |
±------------------------------------------+
1 row in set (0.03 sec)
mysql>
[/code]
En espérant que cela va résoudre mon problème, en tout cas merci beaucoup.