- Oct 2, 2005
- 14,233
- 234
- 106
Topic pretty much says it all. I have MySQL installed on Solaris 10 (x86, 32-bit), and I'd like to know how to make MySQL autostart when the system boots. I'm quite new to UNIX in general and google has failed me here. Any help?
Edit: Okay, some more info. Looking at the mysql file under /etc/init.d it says:
"Usually this is put in /etc/init.d and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql. When this is done the mysql server will be started when the machine is started and shut down when the system goes down."
I checked both the rc0 and rc3 directories, and found no S99mysql or K01mysql files. I assume these are scripts. Do I need to create these scripts manually?
Edit: Okay, some more info. Looking at the mysql file under /etc/init.d it says:
"Usually this is put in /etc/init.d and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql. When this is done the mysql server will be started when the machine is started and shut down when the system goes down."
I checked both the rc0 and rc3 directories, and found no S99mysql or K01mysql files. I assume these are scripts. Do I need to create these scripts manually?