LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 03-14-2008, 09:32 AM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
mysql installation question


HI,

I have installed mysql using yum, some of the mysql commands are in /usr/bin/.., but mysqld daemon is not in /etc/init.d/. How can I restart the daemon? Please advise.
 
Old 03-14-2008, 09:46 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Run this as root: find / -type f | grep mysqld . You will probably find mysqld in /usr/sbin.
 
Old 03-14-2008, 09:53 AM   #3
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
I have tried and it is not there. Do you have any other suggestions, when I type mysql -u root -p , it prompts ofr password, but I can't reset since I can't find /usr/local/mysql/bin/safe_mysqld, am I missing some thing?
 
Old 03-14-2008, 10:48 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Did you install mysql-server? Many people make the mistake of installing the client only.
 
Old 03-14-2008, 01:53 PM   #5
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Thank you, what is the mysql server RPM? How can I check it? Thanks in advance.
 
Old 03-14-2008, 01:56 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
The mysql-server rpm is the actual mysql daemon and supporting packages (not the client which is just called "mysql"). Run the command
Code:
$rpm -qa | grep -i mysql
If mysql-server is not listed in the ouput, then you need to install it.
 
Old 03-15-2008, 12:52 AM   #7
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
You are right. Mysql server was missing. Thanks a lot.
 
  


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 server installation warning: mysql-server-4.1.10a-2.RHEL4.1.i386.rpm: V Buddhike G Linux - Software 3 09-07-2007 07:50 AM
mysql-installation: Not enough space in /var/lib/mysql/ linus123 Linux - Software 8 11-10-2006 03:19 PM
MySQL 3.23.58-14 installation prolem - mysql.sock not found lightcom Linux - Software 4 02-23-2005 01:46 AM
Pre-installation shinanigins.. (Movabletype,redhat9,mysql question) monzlin Linux - Newbie 0 05-08-2004 04:14 PM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 03:54 PM


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