LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-13-2011, 12:26 PM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Upgraded Lenny to Squeeze: mythtv can't connect to mysql


The upgrade actually went pretty well, except for what looks like a new "feature" to mysql-server-5.1. But I post here, because the issue seemed to be in "/etc/hosts" file. If it should really be somewhere else, feel free to move it. Specifically, the problem is during configuration of mythtv-database I get the following:
Code:
ERROR 1045 (28000): Access denied for user 'root'@'musem.local' 
(using password: YES)
**********************
There is something I've never quite understood about /etc/hosts. This has been the first two lines of my file since I upgraded to Lenny. My machine name is "musem", of course.
file: /etc/hosts
Code:
127.0.0.1       localhost
127.0.1.1      musem
In order to get this mythtv/mysql issue resolved, I had to change to the following:
Code:
127.0.0.1       localhost
#127.0.1.1      musem
192.168.1.76    musem
The problem is that I don't understand what this means. What potential problems do I have without a "127.0.1.1"? Or could this have been effected by some change to the "users" table in mysql?

NOTE: This mythtv server "musem" is my main machine, and is being remotely accessed by the Linux box next to my TV.

Last edited by Quakeboy02; 02-13-2011 at 12:30 PM.
 
Old 02-13-2011, 12:37 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
I hate answering my own questions, but perhaps putting the question down on LQ organizes it for me such that I can do a better search. In any case, the answer for what "127.0.1.1" does (and why my changed fixed the problem) was posted by win32sux here. Why this is suddenly necessary with mysql-server-5.1 is an entirely different question.

http://www.linuxquestions.org/questi...1/#post3067894
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to upgrade lenny to squeeze keymoo Debian 6 02-11-2011 05:45 AM
upgrade: Lenny to Squeeze? DeadlySin3 Debian 11 08-02-2010 03:39 AM
Opinions on Best Way to upgrade from Lenny/Lenny Backports to Squeeze?? linus72 Debian 7 12-26-2009 09:44 AM
Upgraded to Debian Squeeze, and now apt-get has gone insane Changes Linux - General 3 10-26-2009 10:52 AM
Lenny + 1 = Squeeze rickh Linux - General 6 09-01-2008 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration