LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-29-2020, 05:17 PM   #1
jmartin17
LQ Newbie
 
Registered: Feb 2011
Location: Bossier City, LA
Posts: 3

Rep: Reputation: 0
MySQL install on Red Hat Enterprise Linux 8


I have RHEL 8 installed on Linux Server. I have tried to download lamp and install mysql but can not get connected to mysql or verify it is installed. can anyone supply linux commands to install and verify MySQL install for RHEL 8?

Last edited by jmartin17; 01-29-2020 at 05:21 PM.
 
Old 01-29-2020, 05:33 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by jmartin17 View Post
I have RHEL 8 installed on Linux Server. I have tried to download lamp and install mysql but can not get connected to mysql or verify it is installed. can anyone supply linux commands to install and verify MySQL install for RHEL 8?
mysql is not in the repositories. It's been replaced by mariadb.
yum install mariadb should install it.

On CentOS, I was able to install mysql by adding these repositories:
Code:
mysql-connectors-community/x86_64
mysql-tools-community/x86_64
mysql57-community/x86_64
I don't know if those are available to Red Hat

What does Red Hat Support have to say about using mysql instead of mariadb?

If you think it has been installed, then
Code:
systemctl status mysqld
will show you if it's there and running.
 
Old 01-29-2020, 05:39 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,727

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
lamp is an acronym for Linux, Apache, mysql or MariaDB and PHP. Assuming you have a subscription you can install all of those packages via the package manager i.e yum although I think now dnf is the preferred tool. You should be able to find several howtos with a simple search. You should also be able to find howtos on how to setup MariaDB too.

The package name for Apache is httpd, MariaDB is mariadb-server, PHP is php and you also need to install the PHP MariaDB module which is php-mysqlnd I believe.
 
  


Reply

Tags
mysql, rhel



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: Red Hat powers cloud-scale DevOps with the general availability of Red Hat Cloud Suite and Red Hat OpenStack Platform 8 LXer Syndicated Linux News 0 04-20-2016 04:20 PM
compare "Red Hat Enterprise Linux" and "Red Hat Enterprise Linux AS" duyanhit Linux - Newbie 3 03-05-2016 12:15 PM
What is difference between Red Hat Linux and Red Hat Enterprise Linux. kamalkumarkumawat0 Linux - Newbie 3 04-04-2015 01:48 PM
Project made in Red Hat Enterprise 4 need to be able to run on Red Hat Enterprise 3 Elin Linux - Software 1 07-13-2006 12:22 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 04:16 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:12 PM.

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