• Joerg Bruehe's avatar
    Backport this change from MySQL 5.5 to 5.1: · c0a1b2c8
    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>
    c0a1b2c8
mysql_install_db.pl.in 21.2 KB