Solved

Autostart Mysql in RAQ4i

Posted on 2001-06-18
6
280 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help instaling linux on vmware 36 95
Error when calling SSH command 20 116
dns master and slave in linux 2 75
Iptables and mirroring ports 4 93
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 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