LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 05-03-2004, 07:15 AM   #1
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 210

Rep: Reputation: 30
MySQLadmin is missing from RH ES3.0


I have recently updated one of my servers from RH 9.0 to RH ES 3.0. However I can't start mysql because of it can't find /var/lib/mysql/mysql.sock

I can't find mysqladmin anyswhere. It should be in /usr/bin.

I tried to reinstall the latest verson from mysql.com as well. Nothing. When I install MySQL 4.0 rpm from mysql .com I still don't have mysqladmin. Anyone ehse run into this problem? What do I do?
 
Old 05-03-2004, 12:12 PM   #2
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 210

Original Poster
Rep: Reputation: 30
anyone?
 
Old 05-03-2004, 12:31 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Quote:
Originally posted by bentman78
anyone?
Please don't bump your posts until at least 24 hours please, as our Rules state.

Secondly, is it in your path? Have you tried to locate it with whereis or slocate, or even find?

And when you were trying to start mysql, did you actually create the default db's so it can actually start? That sock file it refers to is usually created after its started, etc and created the db's with mysql_install_db which creates that directory as well that its in.. etc.

More details please.
 
Old 05-04-2004, 10:54 AM   #4
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 210

Original Poster
Rep: Reputation: 30
I found a way to fix it. for anyone else who runs into this problem this is what I did. I went to the mysql website and dowloaded the following RPM's

MySQL-client-4.0.18-0.i386.rpm
MySQL-devel-4.1.1-0.i386.rpm
MySQL-server-4.0.18-0.i386.rpm
MySQL-shared-4.1.1-0.i386.rpm
MySQL-shared-compat-4.1.1-0.i386.rpm

I installed the MySQL-shared-4.1.1-0.i386.rpm and MySQL-shared-compat-4.1.1-0.i386.rpm first (rpm -Uvh MySQL-shared-4.1.1-0.i386.rpm, rpm -Uvh MySQL-shared-compat-4.1.1-0.i386.rpm)

Then I installed the MySQL-server-4.0.18-0.i386.rpm (rpm -uvh MySQL-server-4.0.18-0.i386.rpm)

Then I installed the client and development packages the same way. After that everything was was kosher. Oh, I uninstalled the Redhat MySQL version before doing anything. Then installed the updated versions. You must install the shared and shared-compat first or you will get dependency errors. I hope someone else who has upgraded to RHES will find this useful. I have always just used the versions that came with Redhat. It's this type of stuff that makes me go more towards FreeBSD because of the inconsistencies with some Linux distros. granted I should probably install everything from source, it's nice to have the apps you need there. FreeBSD's port collection seems to be pretty straight forward and easy to use.
 
1 members found this post helpful.
Old 05-21-2004, 01:35 PM   #5
Hwarang75
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Just install the MySQL client
 
Old 05-24-2004, 02:04 PM   #6
myElegante
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
I have come accross this same issue in RedHat Ent 3.0.

I've installed WebMin (and patched it) and the MySQL module gives this error:

The MySQL admin program /usr/bin/mysqladmin was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.


I checked the /usr/bin directory and there is no mysqladmin at all. I checked the MySQL packages in Add/Remove Packages, and all have been installed.

I've seen this reported elsewhere on the web, but no one has an explanation yet.

Ideas or updates anyone?
 
Old 05-25-2004, 12:00 PM   #7
myElegante
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
the fix

Found out from RedHat that the mysqladmin is not included in the base install when selecting MySQL from the packages list.

The RPM needed is as follows:

mysql-server-3.23.58-1.9.i386.rpm

Install that, assuming you have already installed all MySQL packages from the RedHat install discs, and all should be gravy.
 
Old 05-25-2004, 12:19 PM   #8
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 210

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Hwarang75
Just install the MySQL client
Well...I'd rather run the mysql version from mysql, besides the RHES editon of mysql is outdated.
 
Old 05-26-2004, 12:07 AM   #9
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 210

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by myElegante
I have come accross this same issue in RedHat Ent 3.0.

I've installed WebMin (and patched it) and the MySQL module gives this error:

The MySQL admin program /usr/bin/mysqladmin was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.


I checked the /usr/bin directory and there is no mysqladmin at all. I checked the MySQL packages in Add/Remove Packages, and all have been installed.

I've seen this reported elsewhere on the web, but no one has an explanation yet.

Ideas or updates anyone?
Redhat and MySQL had some licensing disputes, or at least that's what a little bird told me. With that said, RHES doesn't carry the newset version which mysql recommends you should use. I't best to unistall the redhat version and use the mysql rpms from mysql.
 
Old 11-30-2009, 02:20 PM   #10
paz9
LQ Newbie
 
Registered: Jan 2009
Location: Philadelphia, PA
Distribution: Red Hat
Posts: 4

Rep: Reputation: 0
Cool Thanks Bentman

I think it was MySql Client that finally gave me mysqladmin.
I'm really sick of having to dig into each and every product to figure out what someone REALLY meant. It's nice that the package install for the server tells you to run mysqladmin, but it doesn't tell you where to get that, and certainly anyone would be confused by the plethorific proliferation of versions/systems/packages/subsystems/servers/...

Thanks so much for sharing the helpful information -- it was still a problem 5 years later!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysqladmin doesn't work properly Dark Severance Red Hat 0 04-21-2005 09:55 AM
mysqladmin file is missing? dtournas Linux - Software 1 01-16-2005 01:15 PM
mysqladmin localhost pass failed tommytomato Linux - Newbie 9 08-15-2004 07:08 PM
mysqladmin problem hrishikesh Linux - Software 1 07-08-2003 12:55 PM
mysqladmin vcheah Linux - Software 2 11-24-2002 03:41 PM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration