How to install MySQL in Linux system

0 votes

Hi Guys,

I want to use MySQL client in my Linux system. But I am not able to find MySQL command. How can I install MySQL client in my system?

Jul 26, 2020 in Linux Administration by akhtar
• 38,260 points
871 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to install the software for MySQL. You can check the software name using the below-given command. 

$yum whatprovides mysql 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscripti                                                                                        on-manager to register.
Repository 'dvd' is missing name in configuration, using id
Repository 'open' is missing name in configuration, using id
1:mariadb-5.5.56-2.el7.x86_64 : A community developed branch of MySQL
Repo        : dvd
Matched from:
Provides    : mysql = 1:5.5.56-2.el7
3:mariadb-10.1.20-2.el7ost.x86_64 : A community developed branch of MySQL
Repo        : open
Matched from:
Provides    : mysql = 3:10.1.20-2.el7ost
3:mariadb-10.1.20-2.el7ost.x86_64 : A community developed branch of MySQL
Repo        : @open
Matched from:
Provides    : mysql = 3:10.1.20-2.el7ost

You can see the software name above. Now install this software in your system.

$ yum install mariadb-5.5.56-2.el7.x86_64


Hope this helps!

Get your Linux certification today to become certified.

Thanks.

answered Jul 26, 2020 by MD
• 95,460 points

Related Questions In Linux Administration

0 votes
1 answer

How to check permissions of a file in the Linux system?

Hi@akhtar, If you prefer using the command line, ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
1,789 views
0 votes
1 answer

How to check permissions of a folder in the Linux system?

Hi@akhtar, You can use ls command to check ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
9,856 views
0 votes
1 answer

How to give the read power of a folder in Linux system?

Hi@akhtar, You can use chmod command in your ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
1,171 views
0 votes
1 answer

How to remove write permission from a folder in Linux system?

Hi@akhtar, You can use chmod command to remove ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
3,359 views
0 votes
1 answer

ERROR 1006 (HY000): Can't create database 'test' (errno: 2) in mysql

Hi@akhtar, You have to change the permissions or ...READ MORE

answered Apr 14, 2020 in Database by MD
• 95,460 points
8,238 views
0 votes
1 answer

Want a command to be executed in Salt only if a directory is empty

You should consider using this inside your ...READ MORE

answered Jun 12, 2018 in DevOps Tools by Damon Salvatore
• 5,980 points
1,868 views
0 votes
1 answer

How to install httpd web server in Linux?

Hi@akhtar, To install httpd web server in CentOS/RHEL ...READ MORE

answered Apr 21, 2020 in Linux Administration by MD
• 95,460 points
843 views
0 votes
1 answer

How to configure FTP server in Linux System?

Hi@akhtar, You need to install vsftpd software in ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
997 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP