MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Jonathan Perkin Date:September 29 2009 2:22pm
Subject:bzr commit into mysql-5.4.5-next-mr-bugfixing branch (jperkin:2883)
Bug#32542
View as plain text  
#At file:///home/sketch/bzr/mysql-bug32542/ based on revid:alik@stripped

 2883 Jonathan Perkin	2009-09-29
      bug#32542: mysql_install_db: Post-install instructions not complete
      
      Remove the '127.0.0.1' root account by default, the 'localhost' account
      should be sufficient.

    modified:
      scripts/mysql_system_tables_data.sql
=== modified file 'scripts/mysql_system_tables_data.sql'

=== modified file 'scripts/mysql_system_tables_data.sql'
--- a/scripts/mysql_system_tables_data.sql	2008-10-03 15:54:22 +0000
+++ b/scripts/mysql_system_tables_data.sql	2009-09-29 14:20:19 +0000
@@ -23,7 +23,6 @@
 set @current_hostname= @@hostname;
 INSERT INTO tmp_user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
 REPLACE INTO tmp_user SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0 FROM dual WHERE LOWER( @current_hostname) != 'localhost';
-REPLACE INTO tmp_user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
 INSERT INTO tmp_user (host,user) VALUES ('localhost','');
 INSERT INTO tmp_user (host,user) SELECT @current_hostname,'' FROM dual WHERE LOWER(@current_hostname ) != 'localhost';
 INSERT INTO user SELECT * FROM tmp_user WHERE @had_user_table=0;


Attachment: [text/bzr-bundle] bzr/jperkin@sun.com-20090929142019-b422hia5yu9io68b.bundle
Thread
bzr commit into mysql-5.4.5-next-mr-bugfixing branch (jperkin:2883)Bug#32542Jonathan Perkin29 Sep