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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-19-2017, 01:59 PM
|
#1
|
Member
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127
Rep: 
|
Cannot complete MY-SQL Installation on Oracle Linux 5.5
Dear Linux Experts,
I am trying to install MY-SQL on OEL 5.5 (LAPTOP).
But i could NOT complete installation process.
Actually i do not have any idea abt MY-SQL database.
To simulate some scenario i need to configure MY-SQL on LINUX personally.
PHP Code:
# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga)
# uname -a Linux AUSDEV.COM 2.6.18-194.el5 #1 SMP Mon Mar 29 20:06:41 EDT 2010 i686 i686 i386 GNU/Linux
PHP Code:
# service mysqld start Initializing MySQL database: [ OK ] Installing validate password plugin: [ OK ] Starting mysqld: [ OK ] # service mysqld status mysqld (pid 13364) is running... # mysql --version mysql Ver 14.14 Distrib 5.7.17, for Linux (i686) using EditLine wrapper
Help me to resolve it
PHP Code:
# mysql_secure_installation Securing the MySQL server deployment. Enter password for user root: Error: Access denied for user 'root'@'localhost' (using password: YES)
>> Installed RPMS
PHP Code:
# rpm -qa | grep mysql mysql57-community-release-el5-7 mysql-community-libs-compat-5.7.17-1.el5 mysql-community-common-5.7.17-1.el5 mysql-community-server-5.7.17-1.el5 mysql-community-libs-5.7.17-1.el5 mysql-5.7.17-1.el5 mysql-community-client-5.7.17-1.el5
Last edited by Joy Stick; 02-19-2017 at 02:01 PM.
|
|
|
02-19-2017, 02:27 PM
|
#2
|
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Rep: 
|
Quote:
# service mysqld start
Initializing MySQL database: [ OK ]
Installing validate password plugin: [ OK ]
|
That looks like PAM and you're probably doing this with the local root account rather than a domain account...
Did you try it with a blank password (just press enter at the prompt) ?
|
|
|
02-19-2017, 02:45 PM
|
#3
|
Member
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127
Original Poster
Rep: 
|
# service mysqld stop
Stopping mysqld: [ OK ]
# service mysqld start
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
Did you try it with a blank password (just press enter at the prompt) ?
No. I never entered anything.
How do i clear it ?
|
|
|
02-19-2017, 03:00 PM
|
#4
|
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Rep: 
|
I'd start by reading this LQ post.. The last time I had this problem I reset the mysql root password and secure installation worked like a charm.
Hope that helps
NOT@JoyStick
<Steps up on Soap box >
The search function on this site is worth its weight in gold and scandalously under-utilized.
<Steps down from soap-box>
Last edited by dijetlo; 02-19-2017 at 03:04 PM.
|
|
|
02-19-2017, 03:22 PM
|
#5
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
Oracle Linux... yet it Identifies as RHEL, not OEL. Also RHEL 5.5 which is definitely out of date. RHEL 5.11 is the current version of RHEL 5 and RHEL 5 is nearing end of production. So you should definitely consider upgrading/updating to something much much newer.
Anyways, you probably are gunna have to reset the MySQL root password, as dijetlo already linked too.
|
|
|
02-19-2017, 10:31 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,441
|
Also, RHEL & OEL are paid for distros if you want updates (& support). If you don't want to pay, try Centos instead - a free rebuild of RHEL.
Includes updates but not support.
|
|
|
02-19-2017, 10:40 PM
|
#7
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,030
|
Quote:
Originally Posted by chrism01
Also, RHEL & OEL are paid for distros if you want updates (& support). If you don't want to pay, try Centos instead - a free rebuild of RHEL.
Includes updates but not support.
|
To add onto that, if you needed some of the things oracle makes available in Oracle Linux that isn't in baseline RHEL/CentOS, you could always add the Oracle Linux repos to a modern CentOS following Oracle's instructions.
Last edited by Timothy Miller; 02-19-2017 at 10:41 PM.
|
|
|
02-20-2017, 09:19 AM
|
#8
|
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Rep: 
|
Quote:
To simulate some scenario i need to configure MY-SQL on LINUX personally.
|
It sounds like he's working on somebody elses node, which means he'll use the distro they installed.
But since we're all indulging in our open source fanboydom...
@JoyStick
Just slather it up with Slackware, you'll be fine.
|
|
|
All times are GMT -5. The time now is 01:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|