Bug #16214 set password
Submitted: 5 Jan 2006 8:04 Modified: 11 Jan 2006 23:29
Reporter: mkysoft sofware Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.1.4 OS:Windows (Windows XP with all updates)
Assigned to: MySQL Verification Team CPU Architecture:Any

[5 Jan 2006 8:04] mkysoft sofware
Description:
when execute set password for username=password('newpassword') then mysql-nt crashed.

How to repeat:
Allways
[5 Jan 2006 12:04] MySQL Verification Team
I was unable to repeat. Could you please provide the exact commands you
did and your my.ini file.

Thanks in advance.
[5 Jan 2006 12:04] MySQL Verification Team
Forgot to paste:

C:\mysql\bin>mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.1.4-alpha-nt

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

mysql> create user "miguel"@"localhost";
Query OK, 0 rows affected (0.05 sec)

mysql> set password for "miguel"@"localhost" = password("tester");
Query OK, 0 rows affected (0.02 sec)

mysql> select * from mysql.user where user = "miguel"\G
*************************** 1. row ***************************
                 Host: localhost
                 User: miguel
             Password: *945E2AF30B5AA2DC36C9B6363D9B1D52A3E4D4DC
          Select_priv: N
          Insert_priv: N
          Update_priv: N
          Delete_priv: N
          Create_priv: N
            Drop_priv: N
          Reload_priv: N
        Shutdown_priv: N
         Process_priv: N
            File_priv: N
           Grant_priv: N
      References_priv: N
           Index_priv: N
           Alter_priv: N
         Show_db_priv: N
           Super_priv: N
Create_tmp_table_priv: N
     Lock_tables_priv: N
         Execute_priv: N
      Repl_slave_priv: N
     Repl_client_priv: N
     Create_view_priv: N
       Show_view_priv: N
  Create_routine_priv: N
   Alter_routine_priv: N
     Create_user_priv: N
             ssl_type:
           ssl_cipher:
          x509_issuer:
         x509_subject:
        max_questions: 0
          max_updates: 0
      max_connections: 0
 max_user_connections: 0
1 row in set (0.05 sec)

mysql>
[5 Jan 2006 14:59] mkysoft sofware
my.ini
---------------
[client]
port		= 3306
socket		= /tmp/mysql.sock

[mysqld]
port		= 3306
socket		= /tmp/mysql.sock
skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K

server-id	= 1

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

[isamchk]
key_buffer = 8M
sort_buffer_size = 8M

[myisamchk]
key_buffer = 8M
sort_buffer_size = 8M

[mysqlhotcopy]
interactive-timeout
----------------------

I use this command;
set password for test=password('newpassword');

--------------
test user profile:

         User: test
       Password: 
     Select_priv: Y
     Insert_priv: Y
     Update_priv: Y
     Delete_priv: Y
     Create_priv: Y
      Drop_priv: Y
     Reload_priv: Y
    Shutdown_priv: Y
     Process_priv: N
      File_priv: N
      Grant_priv: N
   References_priv: N
      Index_priv: N
      Alter_priv: N
     Show_db_priv: N
      Super_priv: N
Create_tmp_table_priv: N
   Lock_tables_priv: N
     Execute_priv: N
   Repl_slave_priv: N
   Repl_client_priv: N
   Create_view_priv: N
    Show_view_priv: N
 Create_routine_priv: N
  Alter_routine_priv: N
   Create_user_priv: N
       ssl_type: 
      ssl_cipher: 
     x509_issuer: 
     x509_subject: 
    max_questions: 0
     max_updates: 0
   max_connections: 0
 max_user_connections: 0
----------------------------------
[11 Jan 2006 23:29] MySQL Verification Team
Still I was unable to repeat the behavior reported:

C:\mysql\bin>mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.1.4-alpha-nt

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

mysql> create user test;
Query OK, 0 rows affected (0.05 sec)

mysql> set password for test=password('newpassword');
Query OK, 0 rows affected (0.02 sec)

mysql> select version();
+----------------+
| version()      |
+----------------+
| 5.1.4-alpha-nt |
+----------------+
1 row in set (0.03 sec)