mysql_install_db still creates users with case sensitive hostname

Bug #1002402 reported by Hartmut Holzgraefe on 2012-05-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server

Bug Description

Since the fix of MySQL bug GRANT, CREATE USER and DROP USER all lowercase the host name portion of user name argument before going to the mysql.user table, so ensuring that the actually stored host name part is always lowercase.

The mysql_system_tables_data.sql template used by mysql_install_db doesn't take into account yet that the system hostname may use upper case characters in its set hostname

How to repeat:
On the shell do "hostname FOOBAR"
then do a fresh server installation using mysql_install_db
check the mysql.user table to see that entries with the
uppercase FOOBAR were created instead of the expected lowercase foobar

Related branches

description: updated
Elena Stepanova (elenst) on 2012-05-30
tags: added: upstream
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.