[Bug 223836] Re: user table setup fails if hostname is "localhost"

Chuck Short chuck.short at canonical.com
Wed May 7 21:17:53 BST 2008


I have confirmed this for hardy.

The bug has been addressed upstream by
http://bugs.mysql.com/bug.php?id=34461. It has not been added to
intrepid yet because it has not be merged yet. It is a simple one liner
patch, which I have attached to the bug report.

TEST CASE:

To reproduce it, you have to do the following:

1. Set your hostname to localhost.
2. Install the mysql packages from the repository.
3. In your /var/log/syslog you should see the following:
         Installation of my system tables failed!
4. Try logging in with mysql -u root -p
5. You should not be able to connect.

!!! WARNING - You should probably do this in a virtual machine just in
case.

The patch does resolve the issue.
 

** Attachment added: "Patch that fixes the issue."
   http://launchpadlibrarian.net/14348152/93_fix_user_setup_on_localhost.dpatch

-- 
user table setup fails if hostname is "localhost"
https://bugs.launchpad.net/bugs/223836
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list