Solaris11 installing Mysql5.6

1. Searching for the MySQL Package
# pkg search -r mysql


# pkg info -r mysql-56


2. install


# pkg install mysql-56



3. Enable the MySQL Service
# svcs -a | grep mysql


# svcadm enable mysql


4. Connect mysql
# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.37 Source distribution
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
mysql;


你可能感兴趣的:(mysql)