LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2006, 06:26 AM   #1
rushenas
Member
 
Registered: May 2005
Posts: 34

Rep: Reputation: 15
MySQL can't be launched in Slackware


Hi all
Why I can't connect to MySQL in Slackware? I've asked it to run everytime system boots, but it says me that it can't connect to the socket. I tryed to connect to MySQL in bash, without any result.
How can I run MySQL?
 
Old 05-04-2006, 06:37 AM   #2
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
From the commandline: what command do you use to start and what errors do you get?

Last edited by muha; 05-04-2006 at 07:46 AM.
 
Old 05-04-2006, 06:51 AM   #3
rushenas
Member
 
Registered: May 2005
Posts: 34

Original Poster
Rep: Reputation: 15
I used these commands:
mysql
mysqld
mysqladmin
and I recieve "can't connect to mysql at sock /usr/..."
 
Old 05-04-2006, 07:43 AM   #4
w3edr5t
Member
 
Registered: Jul 2003
Location: Oslo/Norway
Distribution: Slackware
Posts: 33

Rep: Reputation: 16
Before you start mysql for the first time in slackware make sure you do:

su - mysql
mysql_install_db

To activate networking, eg if you use a java jdbc driver.

1. Edit /etc/rc.d/rc.mysql

2. Comment the line:
SKIP="--skip-networking"

3. Restart mysql and it should work.

Last edited by w3edr5t; 05-04-2006 at 07:46 AM.
 
  


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
Proftpd can't be launched from xinetd pelletie Linux - Newbie 3 08-26-2008 03:54 PM
OpenSuSE Launched AlexV Linux - Distributions 2 08-10-2005 08:12 AM
ggv hangs when launched rhythmsection Linux - Software 1 07-24-2005 01:08 PM
kplayer 0.5.2 crashes when launched as root on KDE 3.3.2 stl1859 Linux - Software 0 12-10-2004 10:57 AM
something is wrong when apt-get update is launched lsj Linux - Newbie 2 05-21-2004 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:31 AM.

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
Open Source Consulting | Domain Registration