LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MythTV Configuration Issues - cannot login to database (https://www.linuxquestions.org/questions/linux-software-2/mythtv-configuration-issues-cannot-login-to-database-746371/)

EmrldDrgn 08-10-2009 04:03 AM

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?

pljvaldez 08-10-2009 10:31 AM

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


EmrldDrgn 08-11-2009 12:52 AM

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.

pljvaldez 08-11-2009 12:27 PM

Before running mythbackend, I think you need to run mythtv-setup.

EmrldDrgn 08-12-2009 03:10 AM

I tried that too, it didn't work either :(. Nothing can connect to the database.

pljvaldez 08-12-2009 10:40 AM

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


All times are GMT -5. The time now is 03:08 PM.