Solved

Autostart Mysql in RAQ4i

Posted on 2001-06-18
6
272 Views
Last Modified: 2010-03-18
How can I set the mysql to autostart when I reboot my box. I tried looking at the runlevel folder and all of them has mysql symbolic link. I tried also putting it on the "rc.local" like this

#/etc/rc.d/init.d/mysql start

its doesnt work also. Please Help

Marlon
0
Comment
Question by:marlonpita
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 6203930
rather try to put the following in the rc.local file ( if you installed MySQL via RPM and the binaries are where they are supposed to be ie, /usr/bin, then the follwoing will work, use it myself)

/usr/bin/safe_mysqld &

If you built the mysql from binaries, then you change the path to your istallation folder, but keep the safe_mysqld & part...
0
 
LVL 17

Expert Comment

by:psimation
ID: 6203935
PS, don't put the # infront of the line! It will comment the command out and it won't execute, but still, rather use the command as per my first comment... I KNOW it will work, whereas, I don't know how your mysql startup script looks in the /etc/rc.d/init.d folder, so rather stick with the command I gave you then we know it will work...
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6203946
If you exectued "/etc/rc.d/init.d/mysql start" and it didn't work, then something is wrong with your MySQL installation. Look at the /etc/rc.d/init/mysql and see how it tries to start mysqld. Then try that from a command line and find out why it fails and fix that. Off hand, I'd guess that the MySQL shared lib dir might not be listed in /etc/ld.so.conf, or that MySQL isn't installed where the script thinks it should be.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Expert Comment

by:Moondancer
ID: 6786992
50% closing rate on questions asked here.  Please remain active in all your open questions and provide ongoing feedback to the experts who help you.  I will post this in all your open questions with the request that you return and finalize them all.  

If more is needed, let them know, if you've been helped please grade the questions and close them.  Please check the HELP DESK link on the left for more.

EXPERTS PLEASE .... if no response in one week, comment with your recommendatin as to the fair handling of this question since it'll then be up to me to finalize this.

Thank you,

Moondancer
Community Support Moderator @ Experts Exchange
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6806642
I'd say to delete the question. There hasn't been enough information presented to identify the actual problem.
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6809059
Thank you.  Asker hasn't logged in since July, Email sent, so rather than deleting, will move to PAQ so Asker is advised of the refund and closure here.

Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now