LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-11-2004, 07:24 AM   #1
upset
LQ Newbie
 
Registered: Feb 2004
Location: Spain
Distribution: Slackware 10 - current
Posts: 22

Rep: Reputation: 15
Unhappy MySQL in slackware 9.1




Slackware 9.1, full instalation.

email, web and mysql server activated at finish.

At first until now, always the same error:

Quote:
root@hostname:/# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
when system boots, mysql starts... but at first login in runlevel 3 i get the message:

Mysql Ended.

I 've been reading many hours, many procedures, but i can't start MySQL server.

I'm desperate.

what can i doing bad?
 
Old 02-11-2004, 06:24 PM   #2
upset
LQ Newbie
 
Registered: Feb 2004
Location: Spain
Distribution: Slackware 10 - current
Posts: 22

Original Poster
Rep: Reputation: 15
Many hours later...


(as root)
su - mysql
mysql_install_db
exit
chown -R mysql.mysql /var/lib/mysql
mysqld_safe
mysql


wow !!! It works at least.
 
  


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
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Slackware 10 MySQL kdepa Linux - Software 1 01-20-2005 02:13 AM
Slackware 9.1 - Mysql fuelinjection Linux - General 2 06-10-2004 06:26 AM
Slackware + MySQL stuart39 Slackware 5 10-07-2003 03:37 PM
MySQL on slackware hing Slackware 2 01-25-2003 03:33 AM


All times are GMT -5. The time now is 01:31 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