LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-09-2007, 01:07 PM   #1
landev
Member
 
Registered: Aug 2006
Posts: 43

Rep: Reputation: 15
Mysqld in Redhat EL5 doesn't exist.


I've upgraded a workstation from Fedora Core 4 to Redhat Enterprise Linux 5 and have no idea where the Mysql server might be. I installed all Mysql components that were available with the OS, but the server daemon is not an option, nor can I seem to find any reference to a EL5 server by googling the world. Previous installs using EL4 workstation all work fine and dandy and the mysqld_safe is alive and well. I checked an EL5 server and the server deamon exists. Does this mean that with EL5, there is no longer an option to run mysql as a server? Anyone who can clue me in on this would be greatly appreciated.

Graci!

Last edited by landev; 05-09-2007 at 01:34 PM.
 
Old 05-09-2007, 01:55 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
I don't have EL5 but I do have ES4. Are you sure you have mysql-server package installed? On my system, it shows this:

Code:
[root@web02 ~]# rpm -qa | grep mysql
mysql-server-4.1.20-2.RHEL4.1
mysql-4.1.20-2.RHEL4.1
mysql-devel-4.1.20-2.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-4.1.20-2.RHEL4.1
mysqlclient10-devel-3.23.58-4.RHEL4.1
[root@web02 ~]#

Also, I'm assuming you don't have a mysql startup script in /etc/init.d?

-twantrd
 
Old 05-09-2007, 02:00 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Also do some checking:

chkconfig --list | grep mysql

If you get nothing back try;

chkconfig --levels 345 mysql on
service mysql start
 
Old 05-10-2007, 12:29 PM   #4
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Packages installed on the box are:

mysql-5.0.22-2.1
mysql-connector-odbc-3.51.12-2.2
mysql-5.0.22-2.1
libdbi-dbd-mysql-0.8.1a-1.2.2

... these being the only options available during the gui install. I noticed that the options available for installation on a EL5 workstation number 5 where as there 10 options on a EL5 server (one of the options being the server package) as shown below:

mysql-connector-odbc-3.51.12-2.2
mysql-devel-5.0.22-2.1
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-bench-5.0.22-2.1
mysql-5.0.22-2.1
php-mysql-5.1.6-12.el5
mysql-server-5.0.22-2.1
mod_auth_mysql-3.0.0-3.1



My EL4 workstations have:

mysqlclient10-devel-3.23.58-4.RHEL4.1
mysql-devel-4.1.20-2.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-4.1.20-2.RHEL4.1
mysql-bench-4.1.20-2.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-4.1.20-2.RHEL4.1
php-mysql-4.3.9-3.22.5
mysql-server-4.1.20-2.RHEL4.1
mod_auth_mysql-2.6.1-2.2

installed... I'm wondering if, with the newer version of EL if the mysql server portion is not available to the workstation. I can find no documentation one way or the other, nor an rpm or source code for EL5's server.
 
Old 05-10-2007, 12:35 PM   #5
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
I also tried the suggestion:

chkconfig --list | grep mysql

If you get nothing back try;

chkconfig --levels 345 mysql on
service mysql start

The service doesn't exist on the system......
 
Old 05-10-2007, 02:01 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Hmm..........

First sorry for the typo's;

chkconfig --levels 345 mysqld on
service mysqld start


Second, I noticed that you are 64-bit;

Quote:
mysql-5.0.22-2.1
mysql-connector-odbc-3.51.12-2.2
mysql-5.0.22-2.1
libdbi-dbd-mysql-0.8.1a-1.2.2
A little something to get used to for this; rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n"

Example;
Code:
$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" '*mysql*' '*MySQL*'  | sort
mysql-5.0.22-2.1.x86_64
mysql-server-5.0.22-2.1.x86_64
perl-DBD-MySQL-3.0007-1.fc6.x86_64
As a suggestion try; yum install mysql-server

Last edited by Lenard; 05-10-2007 at 02:15 PM.
 
Old 05-14-2007, 05:17 PM   #7
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
The output of the rpm query looks like this:

libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
mysql-5.0.22-2.1.i386
mysql-5.0.22-2.1.x86_64
mysql-connector-odbc-3.51.12-2.2.x86_64
perl-DBD-MySQL-3.0007-1.fc6.x86_64
qt-MySQL-3.3.6-20.el5.x86_64

As for yum, it isn't able to find the server package.


...sure seems like the package is non-existant for non-server versions of EL5.
 
Old 05-14-2007, 07:12 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Then use the CentOS repo's as a backup: http://wiki.centos.org/HowTos/Packag...ment/YumOnRHEL

You can also find the package at: http://rpm.pbone.net/
 
Old 05-15-2007, 01:45 PM   #9
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Ah... I see the new postings at pbone.net... but will I be able to adapt the 32 bit installation to this 64 bit OS?
 
Old 05-16-2007, 06:43 AM   #10
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Why the 64-bit version is available:

http://isoredirect.centos.org/centos...2.1.x86_64.rpm

Add a new CemtOS5.repo file to your /etc/yum.repos.d/ directory which has the following;

[centos5]
name=CentOS-5
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

[centos5updates]
name=CentOS-5-Updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

[centos5plus]
name=CentOS-5-Plus
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

Then try: yum install mysl-server --enablerepo=centos5

Last edited by Lenard; 05-16-2007 at 06:48 AM.
 
Old 05-18-2007, 12:43 PM   #11
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Ah, you're a prince! Worked like a charm! Much thanks and take a 5 outta petty cash!

-l-
 
  


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
Can firewall and ssh co-exist in RedHat 9.0? adamliu Linux - Security 3 05-20-2005 10:10 AM
Adding mysqld as a service in GUI Redhat 3 blue80_in Linux - Software 2 11-29-2004 09:32 PM
Why does Redhat 9 search for drives that dont exist during bootup? glenn69 Linux - Newbie 9 08-12-2004 01:48 PM
pdbedit does not exist in redhat asp55 Linux - Networking 1 12-28-2003 01:42 PM
Mysqld cinnix Linux - General 4 07-08-2001 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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