Cannot complete MY-SQL Installation on Oracle Linux 5.5
Linux - NewbieThis 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.
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.
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)
# 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) ?
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>
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.