Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just curious how to add MySQL into my service list and to run as a service in RH8. I can't find my answer anywhere on the web or in the manual I have. I have installed mysql and it works fine, I just want it to run automatically on reboot and to be in the service list. Right now I just run it manually. I installed mysql 4.0.5 beta from tar.
chkconfig is in /sbin so 1. do it as root, 2. make sure it is on your path (echo $PATH) or just add "/sbin/" to the command. Did you move that script to /etc/rc.d/init.d/ ?
You might need to change a few of the paths in the script to correspond to where you installed mysql.
Install webmin (configure for SSL after installation)
Open webmin in a browser, select the SYSTEM tab, then select BOOTUP/SHUTDOWN, find mysqld (if mysql is properly installed) and click, select "start at bootime" and be sure to save/apply at the bottom of the screen.
ADDON----after installation point your browser to http://127.0.0.1:10000 to access the initial login. Use your root login to access. Be sure to enter webmin configuration and set the ssl option. Instructions are included in the interface.
I highly suggest cloning the root user (change username and password) then deleting the root user. Also set webmin to not offer to save password. With these few settings Webmin becomes MUCH more secure than the initial installation.
You can also set the port that webmin listens on in this area.
Dave, thanks a bundle for helping a winders user config mysql . Also thanks to the rest of you who posted. I used a default mysql.server script that came with a download of 4.0.5 beta. In followed Dave's instructions and it starts as a service now. The only problem I see, is when I choose "start" in the service control center, it starts mysql but the service control window hangs. Not really a big deal, as it seems to work just fine. Thanks again all .
Yeah, I had the same though. Just start it from putty...since logging in through x really doesn't seem as having much advantage to me. I originally wanted to login to this server remotely through X because I'm a windows guy, but now that I'm figuring out how to use linux I think I'd rather just do it from SSH. ...Thanks again Dave.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.