Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Autostart Mysql in RAQ4i

Posted on 2001-06-18
6
Medium Priority
?
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

609 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