Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


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 Mar 2 '10 at 20:09

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

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.