LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-19-2017, 01:59 PM   #1
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Rep: Reputation: 0
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  13364is running...  
 
# mysql --version  
mysql  Ver 14.14 Distrib 5.7.17, for Linux (i686using  EditLine wrapper 
Help me to resolve it
PHP Code:
# mysql_secure_installation  
  
Securing the MySQL server deployment.  
  
Enter password for user root:   
ErrorAccess denied for user 'root'@'localhost' (using passwordYES
>> 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.
 
Old 02-19-2017, 02:27 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
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) ?
 
Old 02-19-2017, 02:45 PM   #3
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
# 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 ?
 
Old 02-19-2017, 03:00 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
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.
 
Old 02-19-2017, 03:22 PM   #5
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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.
 
Old 02-19-2017, 10:31 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 02-19-2017, 10:40 PM   #7
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by chrism01 View Post
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.
 
Old 02-20-2017, 09:19 AM   #8
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
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.
 
  


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
LXer: Does Microsoft Love Linux As Much As It Hates Oracle SQL Databases? LXer Syndicated Linux News 0 03-22-2016 06:33 PM
LXer: Behold, Microsoft SQL Server on Linux - and a firm screw-you to Oracle LXer Syndicated Linux News 0 03-10-2016 10:15 PM
Installation of Oracle Jdeveloper on Oracle Linux fails r4rare@gmail.com Linux - Newbie 7 08-07-2013 09:18 AM
Oracle Installation on OEL 4.5 ( ORACLE LINUX ) thiyagusham Linux - Newbie 5 05-05-2012 06:10 PM
Installation of PL/Sql Server Pages with Oracle on RH 7.3 akamol Linux - Software 0 07-04-2003 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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