Autostart MySQL db on restart or startup


 
Thread Tools Search this Thread
Operating Systems Solaris Autostart MySQL db on restart or startup
# 1  
Old 12-20-2009
Autostart MySQL db on restart or startup

Could not find a good explanation that was Solaris specified. Need to add MySQL to start up on system startup or restart. I was gone for a few days from work and someone decided to relocate the server. When it came back up, of course mysql was down.
On my previous linux systems I always just had to do a chkconfig but that doesnt seem to be a solaris option.
# 2  
Old 12-20-2009
Quote:
Originally Posted by ippy98
Could not find a good explanation that was Solaris specified. Need to add MySQL to start up on system startup or restart. I was gone for a few days from work and someone decided to relocate the server. When it came back up, of course mysql was down.
On my previous linux systems I always just had to do a chkconfig but that doesnt seem to be a solaris option.
Hi. try to locate the sysV init script like for e.g. /etc/rc.d/init.d/ to find the startup script for mysql daemon or you have to have the symlink to mysql server startup.
Set the execute permission if possible or change the extension from K*[0-9]{n}mysqld to S*[0-9]{n}mysqld.
Cant help much regarding solaris. My answer is more of linux context type.
Hope it helps some bit.
Regards.
# 3  
Old 12-21-2009
I don't have an rc.d directory at all. I don't see any existing scripts in any of the init.d
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

2. AIX

sshd autostart problem

Hello, AIX 6.1 sshd worked fine. Then I upgraded my AIX from 6100-02-04-0920 to 6100-03-10-1119 successfully(no errors, nothing unusual). After reboot sshd was not started, 3 errors in errpt: # lssrc -s sshd Subsystem Group PID Status sshd ssh ... (0 Replies)
Discussion started by: vilius
0 Replies

3. Solaris

solaris 10 mysql no longer able to restart

Came in tonight, and some people started getting this error message note: users were getting this error in IE6 and in firefox, pages seemed to process fine in Chrome. :confused: anyway... So I decided to restart the MySQL service, now it will not restart. First tried: root@bender:/>... (2 Replies)
Discussion started by: ippy98
2 Replies

4. AIX

service/process management -autostart at startup

Hi, I want to modify some of the services/processes (related to the oracle database) to start automatically at the startup of the server. which commands may help me? which commands do I need to use? my server configuration is, in brief: hardware:IBM P550 / OS : AIX 5300 thanks,... (1 Reply)
Discussion started by: talipk
1 Replies

5. AIX

Autostart of LPAR

Hi, I have 2 lpars on my AIX that needs to be started manually after each reboot. Because the servers are storing the NFS and NIS info, other servers won't run correctly until they start up. I found in IBM documentation the steps to make it automatic. My question is, I want to know if... (2 Replies)
Discussion started by: rahzzbietel
2 Replies

6. HP-UX

Oracle Autostart Problem

Hi All, I am running HP-UX 11i v2. I installed oracle 10g over it. I was having a startup script from oracle 8i which i modified and copied in /sbin/init.d . In /etc/oratab also I did "Y" for autostart. But still the script isn't starting oracle. As such if i run script from shell prompt, it... (1 Reply)
Discussion started by: ankurjain
1 Replies

7. UNIX and Linux Applications

Autostart/Autorun Applications

I have developed a CD that runs both Windows and Mac software. I would like it to function as an autorun/autostart; I do not have a problem with the Windows code, but I do for the Mac. I do not feel like investing a couple of hundred $$$ into software, when, I am sure that several lines of UNIX... (2 Replies)
Discussion started by: HornetDr
2 Replies

8. Shell Programming and Scripting

How can I make a program start up automatically after the computer restart/startup?

hi all How can I make a program start up automatically after the computer restart/startup in fedora? something like: ... Establish a shell then run some of command code. Thanks for Help!! (1 Reply)
Discussion started by: munna_dude
1 Replies
Login or Register to Ask a Question