LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2009, 05:03 AM   #1
EmrldDrgn
Member
 
Registered: Oct 2008
Posts: 40

Rep: Reputation: 16
MythTV Configuration Issues - cannot login to database


I can't seem to get MythTV to work on my PC. I compiled MySQL and its other dependencies, then compiled MythTV, and all that worked just fine, then I tried to follow the instructions here: http://www.mythtv.org/wiki/User_Manu...l_Installation to get it up and running. However, no matter what I try to do with the MySQL database, I keep getting the error "Cannot login to database?" when running any MythTV program (frontend, backend, filldatabase). Can anyone help me with this problem?
 
Old 08-10-2009, 11:31 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Did you add the mythtv user and password to the database?

Also, your /etc/mythtv/mysql.txt file should look like this:
Code:
DBHostName=localhost
DBUserName=mythtv
DBName=mythconverg
DBPassword=mythtv
 
Old 08-11-2009, 01:52 AM   #3
EmrldDrgn
Member
 
Registered: Oct 2008
Posts: 40

Original Poster
Rep: Reputation: 16
Steps I took:

Compile MySQL
Set MySQL Admin Password
Compile MythTV/Plugins/Themes
Add User mythtv
su mythtv
mysql -u root -p < mythtv.sql
Run Mythbackend (fail)
Write mysql.txt according to that link you sent me (which i found on my own)
Run Mythbackend (fail)
Fiddle with database repeatedly, fail repeatedly
Post here.
 
Old 08-11-2009, 01:27 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Before running mythbackend, I think you need to run mythtv-setup.
 
Old 08-12-2009, 04:10 AM   #5
EmrldDrgn
Member
 
Registered: Oct 2008
Posts: 40

Original Poster
Rep: Reputation: 16
I tried that too, it didn't work either . Nothing can connect to the database.
 
Old 08-12-2009, 11:40 AM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Just out of curiosity, what distro are you using? There may be some precompiled packages that could ease your install.
 
  


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
Mythtv/Database Problem snares Linux - Software 3 01-31-2007 12:56 PM
mythtv mysql database setup help carmat06 Debian 3 09-27-2005 06:41 PM
Set up Database for Mythtv SHERB142 Fedora 2 06-08-2005 08:40 PM
MythTV and MySQL database on same Computer linux-rulz Linux - Software 4 05-19-2005 07:15 PM
mythtv database errors tgkspike Linux - Software 1 06-08-2004 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration