Mailing Lists: Apple Mailing Lists

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

Command line MySQL giving issues



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). 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?

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$


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.

I can access it fine via phpmyadmin as well.

Thanks in advance!

Yvo
_______________________________________________
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


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.