PDA

View Full Version : Activating MySQL in RedHat Linux 9


ConfusedOfLife
07-31-2004, 04:22 PM
Hello all

After being absent for a while now I'm back with this question: Does anyone know of any guide on how to start mysql on Linux? Actually I was writing a long complain that mysql doesn't run on linux! But during the writing I could sort of fix it! Now it works, but only the mysql & test databases are not active coz their directory isn't created. I think I can do something for it myself! I just wanted to know if any of you went through the same experience: running mysql that is already installed with your Linux package, not grabbing a new mysql and deleting the old one and installing the new one!

Any help would be appriciated.

BTW I could finally find & run it under /usr/bin !! it has another directory called /usr/libexec which I couldn't find out (yet) what I should do with it!

bcarl314
08-02-2004, 04:13 AM
Well I'm not exactly sure what the problem is, but this should help.

As root, to start mysql, type:

$> service mysqld start

To add it to the boot process, again as root type:

$> chkconfig --add mysqld