Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hey my friend, it's been a while!! I had put that aside for a while, but now I am back for more!
Ok I know my haupauge works, cause I get a "no channel video" when I type
Now, When I do mysql --user=root --password=passwordSETearlier < /usr/share/doc/mythtv-0.20/database/mc.sql, it tells me that the file doesnt exist... What should I do? Im pretty lost in that mysql thing...
I know it works because I have something when I type mplayer /dev/video0
What I am trying to do with mysql is the following:
To setup mythtv’s backend, we’re going to run myth-setup (that’s the command you can run from a konsole as well). This will ‘setup’ our configuration for when we fire up the mythbackend. However, we need to give the MySQL database structure so that the data can be stored inside of it. To do this, MythTV gives you a .sql file that can be used to form the database structure.
[root@localhost~]# mysql --user=root --password=passwordSETearlier < /usr/share/doc/mythtv-0.20/database/mc.sql
Now the structure is complete. It’s time to run the setup utility.
You need to find where mythtv put that database structure file. Go poke around the /usr/share/doc/ directory. Maybe your directory is mythtv-0.20.2 or something different. Basically the end that string "</usr/share/doc/mythtv-0.20/database/mc.sql" is inputting the file mc.sql into mysql. So you probably just need to find the file mc.sql.
Ok... but here's a good one for you. How come this happens?
[root@localhost Desktop]# mysql --user=root --password=**** < /usr/share/doc/mythtv-0.20/database/mc.sql
bash: /usr/share/doc/mythtv-0.20/database/mc.sql: No such file or directory
[root@localhost Desktop]# ls -l /usr/share/doc/mythtv-0.20/database/
-rw-r--r-- 1 root root 298 Jan 20 2006 mc.sql
We are making progress here big time... CD to directory actually solved the problem.. stupid me, must have been a space or something. Anyways, I was able to go through the setup (it sees my USB2 decoder on /dev/v4l/video4 (something like that) and I was able to start mythfrontend. But when I click on WATCH TV, I get an error telling me the mythbackend is not started.... I previously did service mythbackend start and it said ok... What can I try now? I have only a laptop, and from what I understand, backend would be needed if I was trying to watch tv on another computer?
Are you trying to start the frontend on the same machine as the backend? If not, I remember reading something about needing to setup mysql for network access.
Currently, I have the frontend on the backend machine, so I didn't bother setting it up for network access.
What is your setup like? Is the backend server on the laptop as well? Mythtv is like every other linux client server setup. The server always needs to run. Sometimes the client is on the same machine. Just like you could install apache on your laptop and serve web pages to firefox running on the same laptop.
Hey pljvaldez, I found this on another forum, and I think it might be the problem.
Looks like the age-old database problem again.
What do you think the 'mythtv' mysql user's password is? Can you log in to mysql using
mysql -u mythtv -p mythconverg
If you can't log in using that then the mythtv mysql user's password is set to something you don't know.
Either 1. look in /etc/mythtv/mysql.txt to find out what it is or 2. change the mythtv mysql user's password to something more memorable and update all occurances of mysql.txt files to reflect the new login details.
Now, what do I have to do to change the password of mysql? Because I cannot log in using user "root" and my password? Thanks!
I'm trying my best to change the password like the following, but it always gives me a syntax error... Where am I wrong?
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '’****’' at line 1
mysql> SET PASSWORD FOR root@localhost=PASSWORD ’****’;