Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Trying to setup a web server with Redhat 7.1 / Perl / PHP and MySQL. I've gotten PHP, Telnet, and FTP running fine, but I've been through absolute hell trying to figure out the MySQL installation.
RPM:
I select all the MySQL options during the CD installation process.
CONFIGURATION:
The CD Install is done (for the 45th time), and I setup all the other services I want by commenting and uncommenting conf files. I come to MySQL...
shell: /var/lib/mysql/mysql_install_db
-->
Installing all prepared tables
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
______________
Great, right ?
shell: /usr/bin/safe_mysqld &
-->
starting mysqld daemon with databases from /var/lib/mysql
010917 01:35:43 mysqld ended
No, all that stuff is done or already setup in RedHat 7.1
Install all the MySQL RPMs from the RedHat CD and startup MySQL:
/etc/rc.d/init.d/mysqld start
To make it permanent there are various ways, easiest for me is "ntsysv" which gives a text-based menu where you can select various services to turn on/off.
Do "mysqladmin password your_new_password" and it should set the root password to that. Might have to restart MySQL after that.
Done, works, ready to go...
Remember, start things using the init.d scripts when you can instead of manually...
Thanks for the info - I did a clean install again, and got it running... you're right, I didn't need to do anything other than start it up. Someone emailed me a "setup" command which brought up the menu which allowed me to check off what services to use at startup. What the heck is that, and where is that from? It worked, and easy to remember...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.