• Joerg Bruehe's avatar
    Backport this change from MySQL 5.5 to 5.1: · bbb14e48
    Joerg Bruehe authored
      Bug #14181049: MYSQL_INSTALL_DB.PL CREATES EMPTY SYSTEM TABLES FOR MYSQL
    
      The script is different from what's used on unixes.
      It was not playing the table insertion script (mysql_system_tables_data.sql),
      although it was checking for the presence of this script.
      Fixed by re-enabling the lookup for this file and replaying it at bootstrap
      time. Note that on the Unixes "SELECT @@hostname" does return a fully qualified
      name, whereas on Windows it returns only a hostname.
      So by default we're filtering records in the mysql.user table until we ensure
      this is fixed.
    
    The change was coded in 5.5 by Georgi Kodinov <Georgi.Kodinov@Oracle.com>
    bbb14e48
mysql_install_db.pl.in 21.2 KB