Solved

Autostart Mysql in RAQ4i

Posted on 2001-06-18
6
278 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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