Mysql – How to install only thesql client on solaris

MySQLsolarissolaris-10sparc

I have a mysql server already running on RHEL 5 server. I have other Solaris 10 and Solaris 11 machines (SPARC based T4-4 servers) which need to connect to the server. I downloaded a pkg (mysql-5.6.23-solaris11-sparc-64bit.pkg.gz) from MySQL CE downloads but it installed client as well as server on the Solaris machine. It only provided me two options: ALL or QUIT.

Are there any packages available for a client only installation? Or are there any configuration parameters for the same?

Best Answer

With Solaris 10 & 11, pkg should be available. Try to install the database/mysql-55/client package:

$ pkg publisher
  PUBLISHER         TYPE     STATUS P LOCATION
  solaris           origin   online F http://pkg.oracle.com/solaris/release/

$ pkg install database/mysql-55/client
[...]

$ mysql --version
mysql  Ver 14.14 Distrib 5.5.31, for solaris11 (i386) using readline 5.1
Related Topic