LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-01-2008, 09:17 AM   #1
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
mysqld missing


Hi,
I just built a CentOS server and inlcuded mysql in the install. The mysql files are there but I can't find mysqld
I did a find on the system and no file found.
How do I go about getting mysqld fired up?

edit to add:
Here is the error message I'm getting:
[root@netcarstop ~]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I think it is because I do not have a mysqld running.

so I tried this:

[root@netcarstop ~]# chkconfig --level 35 mysqld on
error reading information on service mysqld: No such file or directory
[root@netcarstop ~]# /etc/init.d/mysqld start
-bash: /etc/init.d/mysqld: No such file or directory
[root@netcarstop ~]#

Any ideas?

Last edited by DotHQ; 10-01-2008 at 09:59 AM.
 
Old 10-01-2008, 09:58 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

# service mysqld start

should do the trick.

Dave
 
Old 10-01-2008, 10:40 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Do you have mysql-server installed?
 
Old 10-01-2008, 11:30 AM   #4
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by ilikejam View Post
Hi.

# service mysqld start

should do the trick.

Dave
Tried that:

[root@netcarstop ~]# service mysqld start
mysqld: unrecognized service
 
Old 10-01-2008, 11:32 AM   #5
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by bathory View Post
Do you have mysql-server installed?
Ahhhh I bet that's it. There is a mysql and a mysql-server package.

Do you need both. In other words do I need to remove the mysql stuff I already have before trying to get mysql-server?

Thanks Bathory I think you hit on it.
 
Old 10-01-2008, 11:35 AM   #6
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Original Poster
Rep: Reputation: 33
Got it going.
Did a yum install mysql-server
and it went and got the files I needed.
I'm up and running now.
Thanks guys!!!!!!!
 
Old 10-01-2008, 11:37 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
mysql is the client. You can use it to connect to the server, issue queries, add/remove tables and so on.
 
  


Reply



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
mysqld shuts down right away moonguide Slackware - Installation 2 05-08-2007 03:09 PM
chroot mysqld gk_ Linux - Security 2 08-16-2005 11:26 PM
mysqld missing varun_saa Red Hat 6 08-13-2005 07:01 AM
mysqld + root -> ok? efm Linux - Newbie 2 04-20-2005 10:19 AM
Mysqld cinnix Linux - General 4 07-08-2001 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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