пароль никакой не ставил. вводил логин root и заходил.
полазил по интернету ...
сделал так
Код: Выделить всё
[root@ws199 includes]# mysql --user root
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 8
Server version: 5.0.67 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
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> UPDATE user SET Password=PASSWORD('root') 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.03 sec)
mysql> exit
Byeтеперь и через консоль не заходит =(