Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.


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?


share|improve this question

migrated from stackoverflow.com Mar 2 '10 at 20:09

This question came from our site for professional and enthusiast programmers.

2 Answers 2

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
share|improve this answer
  1. /etc/init.d mysql restart
  2. svcadm restart mysql
share|improve this answer
I am getting this error when I tried svcadm. svcadm: Pattern 'mysql' doesn't match any instances –  Vincent Mar 2 '10 at 20:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.