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 in Linux Administration by akhtar
• 25,030 points
54 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
answered Jul 26 by MD
• 56,480 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 in Linux Administration by MD
• 56,480 points
69 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 in Linux Administration by MD
• 56,480 points
71 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 in Linux Administration by MD
• 56,480 points
54 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 in Linux Administration by MD
• 56,480 points
57 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 in Database by MD
• 56,480 points
715 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,550 points
145 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 in Linux Administration by MD
• 56,480 points
54 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 in Linux Administration by MD
• 56,480 points
65 views