ps should show you something like the following:


Jupiter:~/desktop hcir$ ps uax | grep mysql
root 291 0.0 0.1 18644 1072 ?? S 3May04 0:00.06 sh ./bin/safe_mysqld --user=mysql
mysql 338 0.0 2.5 51720 19872 ?? S 3May04 10:17.86 /usr/local/mysql-standard-4.1.0-alpha-apple-darwin6.4-powerpc/bin/ mysqld
hcir 20399 0.0 0.0 18172 344 std S+ 10:52AM 0:00.01 grep mysql


if you dont see this i would check the error log after you try to start the server with something like:

#/usr/local/mysql/bin/mysqld_safe -uuser &

- hcir

On May 11, 2004, at 10:29 AM, Gabriel Ricard wrote:

Did you configure MySQL and run the /usr/local/mysql/scripts/mysql_install_db to initialize your data directory?

- Gabriel

On May 10, 2004, at 5:21 PM, Tim Jarman wrote:

I have an iBook G4 running MacOS X.3 on Darwin 7.0. I downloaded and ran the
binary installer (mysql-standard-4.0.18.pkg and it appeared to work fine; I
have /usr/local/mysql and so on as per the docs. I also installed
MySQLStartupItem.


However, I don't actually appear to have a functional installation. If I do:

/usr/local/mysql/bin/mysql

or even


sudo /usr/local/mysql/bin/mysql

I get:


ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)

although /tmp/mysql.sock does exist, which seems to indicate the server is
running. But then again ps -a -x doesn't seem to show it, so maybe it isn't;
if I do ps -A |fgrep "mysql" on my Linux box, where MySQL is running happily,
I get a hit for mysqld_safe plus ten others for mysqld.


I tried starting the server manually as suggested in the docs:

sudo /Library/StartupItems/MySQL/MySQL start
Starting MySQL database server

but when I try running mysql I get error 2002 as before.


I found mention of this problem on FAQTS and in the MySQL mailing lists
archive, the latter of which suggested this email address. Any clues would be
most welcome! Please cc any replies to me as I am not currently subscribed to
any of the MySQL lists.


Thanks in advance,

Tim Jarman



- hcir


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



Reply via email to