Every time I restart my OpenSUSE 12.1 system I have to manually start mysql. Is there a way to have it started automatically on boot?
Thanks!
Scott
Every time I restart my OpenSUSE 12.1 system I have to manually start mysql. Is there a way to have it started automatically on boot?
Thanks!
Scott
If you have not already do so, do the following task …
open YaST (enter root user password)/** System** / System Services (Runlevel)
Then Set the Expert Mode bullet / Find **mysql **service in the list on the left / select mysql with mouse / pick the Set/Reset button on bottom right and select Enable the service / pick the Start/Stop/Refresh button on bottom left and select **Start now **/ Select OK on the bottom right.
Your mysql service should now start automatically on each system restart.
Thank You,
On 2012-05-20 02:26, svetter88 wrote:
>
> Every time I restart my OpenSUSE 12.1 system I have to manually start
> mysql. Is there a way to have it started automatically on boot?
Same as any other service!
Traditionally, that would be “chkconfig mysql on”. I don’t remember if this
works with systemd.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
It works. mysql is not a native systemd service. You can enable it with:
sudo systemctl enable mysql.service
But it gets redirected to /sbin/chkconfig and in fact executes
/sbin/chkconfig mysql on
Thanks! That did the job. For some reason I thought the starting of subsystems had changed but apparently not.