Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line MySQL giving issues



At 2:25 AM -0800 1/30/06, Yvo van Doorn wrote:
Hey all,

I installed a new copy of OS X 10.4 on a PowerMac this weekend. I then upgraded to 10.4.4 without tweaking anything (or installing anything).

I then install MySQL 5.0.18 with the binary on mysql.com (I downloaded the 10.4 64 bit one).

Was there a reason you did this? You realize that MySQL is already installed on OS X Server.


Installed it and everything is good. So what is the proper way for me to point to to the mysql located in the /usr/local/mysql-standard-5.0.18-osx10.4-powerpc-64bit/bin/ directory instead of /usr/bin/mysql?

Change your $PATH or just invoke it explicitly.

Currently this is the problem:
When I type in just mysql on the terminal line I get this:
honeysuckle:~ dforest$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
>honeysuckle:~ dforest$

That MySQL is not running.

When I do this:
honeysuckle:~ dforest$ /usr/local/mysql-standard-5.0.18-osx10.4-powerpc-64bit/bin/mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 106 to server version: 5.0.18-standard


Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> \q
Bye
honeysuckle:~ dforest$
It works fine.

This is the expected behavior. --

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                     http://www.iwiring.net/
email@hidden                                 http://www.ustsvs.com/
1-646-217-4725

pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF  12B1 7840 3BE7 3736 DE0B

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Command line MySQL giving issues (From: Yvo van Doorn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.