Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
In another thread I was looking at which mySQL installation I should use for my system (red hat 9) as Apache and PHP were pre-installed.
I decided on the binaries package and installed it. I've been really stuck ever since.
I installed it using the instructions provided, but from the first time I ran it its been nothing but a hassle. I cant stop it for one thing. I rebooted and it wasnt running, but then for some reason I cant run the files anymore. I go to the directory where it is installed and run mysqld_safe as instructed in the documentation and it just says bash: mysqld_safe: command not found. I can see it though ... its in the directory I am calling it from.
I can get Webmin to start it and stop it on occasion, but not always.
I logged in as root and got the same thing.
Then, I found that php isn't loading the mysql libraries so I cant access any databases through PHP which was the prupose of the whole excersise.
I'm just stumped guys ... I really am. Can anybody throw be a line here?
Ok. I didnt have a my.cnf file, so I used the example file my-medium.cnf and saved it there as my.cnf
I'm a little unsure of how to even start it.
There is a file called mysqld_safe in the bin directory (/usr/local/mysql/bin) but as I mentioned, I cannot just boot the machine, go into a terminal window and run the file. It just says that the command was not found.
There was a procedure I was supposed to follow to get the server to start on reboot, which I did, but it doesnt seem to be running when it boots.
What is the difference between mysqld and mysqld_safe anyhow?