Mysql – Restart MySQL on Solaris

MySQLsolaris

All,

I am trying to setup remote access for MySQL on a solaris machine. I copied my-small.cnf to /etc/my.cnf.

How do I restart MySQL in Solaris?

Thanks

Best Answer

Search for the appropriate FMRI :

antoine@opensolaris:~# svcs mysql
STATE          STIME    FMRI
online         May_21   svc:/application/database/mysql:version_50

Restart the service in question :

svcadm restart mysql:version_5