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

link|improve this question
feedback

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

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

2 Answers

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
link|improve this answer
feedback
  1. /etc/init.d mysql restart
  2. svcadm restart mysql
link|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
feedback

Your Answer

 
or
required, but never shown