Is there any way to install mysql client (Linux)?

Are there any Linux mysql command line tools that don't require installing the entire mysql db installation package?

What I'm trying to do is server # 1 (application server), execute mysql commands that will execute on server # 2 (db server). I do not want to run db on a local server or install a completely exploded mysql db.

+84
linux mysql client
Mar 13 '11 at 3:32
source share
7 answers

To install only mysql (client), you must run

yum install mysql 

To install the mysql client and mysql server:

 yum install mysql mysql-server 
+115
Nov 12 '12 at 23:33
source share

under the assumption:

 sudo apt-get install mysql-client 
+52
Mar 13 '11 at 4:14
source share
+5
Mar 13 2018-11-11T00:
source share

Perhaps try the following:

 yum -y groupinstall "MYSQL Database Client" 
+5
Aug 29 '13 at 17:01
source share
 [root@localhost administrador]# yum search mysql | grep client community-mysql.i686 : MySQL client programs and shared libraries : client community-mysql-libs.i686 : The shared libraries required for MySQL clients root-sql-mysql.i686 : MySQL client plugin for ROOT mariadb-libs.i686 : The shared libraries required for MariaDB/MySQL clients [root@localhost administrador]# yum install -y community-mysql 
+3
Jun 26 '14 at 17:10
source share
 sudo apt-get install mysql-client-core-5.5 
+2
Nov 28
source share

I studied this and decided to use the following option

yum install mysql-bench

-one
Jun 28 '12 at 8:19
source share



All Articles