SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-15-2006, 06:47 AM
|
#1
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Rep:
|
MythTV setup and SUSE
Hi
i have never ever suceeded in setting up MythTV
MySqL database always fails to work
http://mythtv.org/wiki/index.php/Use...l_Installation
Code:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock
anyone have a full script to initially setup MYTHV In Suse 10.1?
or why i cant get MySQL to work properly
|
|
|
09-15-2006, 08:02 AM
|
#2
|
Member
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Rep:
|
Well, at first look it would assume that you dont have MySQL either installed or running. Did you make sure it was running with YaST?
|
|
|
09-15-2006, 09:29 AM
|
#3
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Original Poster
Rep:
|
Quote:
Originally Posted by Samoth
Well, at first look it would assume that you dont have MySQL either installed or running. Did you make sure it was running with YaST?
|
Code:
linux-carl:/home/carl0ski # /etc/init.d/mysql start
Starting service MySQL done
linux-carl:/home/carl0ski # mysql -u root -p mysqldatabase
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
fairly sure
|
|
|
09-15-2006, 12:04 PM
|
#4
|
Member
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Rep:
|
you might have wanted to blank out that password first ;-)
why don't you post the output of "ls /var/lib/mysql/" here. I am on a SuSE(10.0) box now so I might be able to compare.
|
|
|
09-15-2006, 08:46 PM
|
#5
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Original Poster
Rep:
|
Code:
linux-carl:/home/carl0ski # ls -a /var/lib/mysql/
ib_logfile0
mysqld.log
mysql.sock
update-stamp-5.0
ib_logfile1
mysqld.log.1.bz2
test
ibdata1
mysql
mysqld.pid
tmp
Last edited by carl0ski; 09-15-2006 at 08:48 PM.
|
|
|
09-16-2006, 07:57 AM
|
#6
|
Member
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Rep:
|
I see the sock file, try doing this: "ls -l /var/lib/mysql/mysql.sock" so we can look at the permissions on it, although that probably isn't the problem.
|
|
|
09-16-2006, 08:00 PM
|
#7
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Original Poster
Rep:
|
Quote:
Originally Posted by Samoth
I see the sock file, try doing this: "ls -l /var/lib/mysql/mysql.sock" so we can look at the permissions on it, although that probably isn't the problem.
|
carl0ski@linux-carl:~> ls -l /var/lib/mysql/mysql.sock
srwxrwxrwx 1 mysql mysql 0 2006-09-16 10:32 /var/lib/mysql/mysql.sock
|
|
|
All times are GMT -5. The time now is 11:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|