mysql-solaris

Mysql-server installation steps on solaris 11

root@solasoa:/var/lib# ln -sf /oracle/opt/mysql /var/lib/mysql
root@solasoa:/var/lib# chown mysql:web /var/lib/mysql

check access and available disk space:

root@solasoa:/var/lib# cd /var/lib/mysql
root@solasoa:/var/lib/mysql# ls -tlrah
total 6
drwxr-xr-x   3 root     root           3 may 25 10:36 ..
drwxr-xr-x   2 mysql    web            2 may 25 11:01 .
root@solasoa:/var/lib/mysql# df -h .
Filesystem             Size   Used  Available Capacity  Mounted on
oracle                  16G    36K       8,9G     1%    /oracle
root@solasoa:/var/lib/mysql#