Are you trying to run mysqld or mysqld_safe (or safe_mysqld)? If you are going to start mysql manually, you should be in the /usr/local/mysql directory and then type the following:
sudo ./bin/mysqld_safe &


mysqld_safe is actually just a shell script that will launch and monitor mysqld to make sure it stays running. mysqld needs to run under the mysql account (or whatever account you created for it to run under). The script handles launching mysqld under the correct account. That's why you need to use sudo, so it can switch accounts from root to run the process. The & at the end just tells the scripts to run in the background so that you get control of the terminal back and can even close your terminal session without causing the script to exit.

The only time I ever try to run mysqld directly is if I'm having trouble getting things to launch, because then it will show the errors in the terminal session instead of logging them. But you do need to be one level up other mysqld won't be able to figure out the paths to all the supporting files.
sudo ./bin/mysqld
Should tell you what the problem is.


There is a lot of great stuff on OS X on Marc Liyanage's website. He even has instructions on how to configure you computer to launch MySQL at startup.
http://www.entropy.ch/software/macosx/


On Saturday, September 13, 2003, at 02:54 AM, Andy Callan wrote:

Does the installation of the PKG itself finish successful?

No problems installing the files, the PKG works fine and everything is as it should be
in /usr/local/


It's essential to start up mysqld before you continue with using
mysqladmin.

When i try to startup the mysqld it works but then I get "msqld ended" immediately
afterwards, I tried to follow the two posts about that with the online
documentation with no luck. If you need anymore info just let me know, thanks a
lot for your response.


--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to