[前][次][番号順一覧][スレッド一覧]

mysql:10155

From: "井上 武則" <"井上 武則" <take-inoue@xxxxxxxxxx>>
Date: Wed, 15 Sep 2004 09:20:19 +0900
Subject: [mysql 10155] rootにもPASSWORDが付かない・・!?

おはようございます。井上です。

>竹形様

rootで試してみましたが、同様にpasswordが与えられません。

以下に作業logを貼り付けます。

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 4.0.13-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select user, password, host from user;
+--------+------------------+-----------+
| user   | password         | host      |
+--------+------------------+-----------+
| root   |                  | localhost |
| root   |                  | %         |
| thanks | 6067188d6665bffe | localhost |
| thanks | 6067188d6665bffe | %         |
+--------+------------------+-----------+
4 rows in set (0.01 sec)

mysql> grant all on root to thanks@'%' IDENTIFIED BY 'r';
Query OK, 0 rows affected (0.00 sec)

mysql> grant all on root to thanks@localhost IDENTIFIED BY 'r';
Query OK, 0 rows affected (0.00 sec)

mysql> select user, password, host from user;
+--------+------------------+-----------+
| user   | password         | host      |
+--------+------------------+-----------+
| root   |                  | localhost |
| root   |                  | %         |
| thanks | 6067188d6665bffe | localhost |
| thanks | 6067188d6665bffe | %         |
+--------+------------------+-----------+
4 rows in set (0.00 sec)

mysql> set password for root@"%" = password('r');
Query OK, 0 rows affected (0.05 sec)

mysql> Aborted

C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password: *
ERROR 1045: Access denied for user: 'root@xxxxxxxxxx' (Using password: YES)

C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.0.13-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>  Aborted


##ここでサービスを再起動##


C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password: *
ERROR 1045: Access denied for user: 'root@xxxxxxxxxx' (Using password: YES)

C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.0.13-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all on root to thanks@'%' IDENTIFIED BY 'r';
Query OK, 0 rows affected (0.00 sec)

mysql> grant all on root to thanks@localhost IDENTIFIED BY 'r';
Query OK, 0 rows affected (0.02 sec)

mysql>
mysql> flush privileges;
Query OK, 0 rows affected (0.05 sec)

mysql> Aborted

C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password: *
ERROR 1045: Access denied for user: 'root@xxxxxxxxxx' (Using password: YES)

C:\Documents and Settings\Administrator>f:\crm\mysql\bin\mysql mysql -h
localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.0.13-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

−−−−−−−−−−以上−−−−−−−−−−−−


添付ファイル

[前][次][番号順一覧][スレッド一覧]

-> @ 10155 2004-09-15 09:20 ["井上 武則" <take-i] rootにもPASSWORDが付かない・・!?      
     10156 2004-09-15 09:49 ┗[渡邊昌之 <mark@xxxxx]                                       
     10158 2004-09-15 11:44  ┗[seiji takegata <take]