Hello there,

I just downloaded the MySQL 5 Community Edition for OS X Tiger...

Ran the installer and it installed everything to /usr/local/ ...

Updated my .bash_profile by creating a MYSQL_HOME variable and appending that MYSQL_HOME/bin to the PATH variable...

Now, the problem is that when I try to check my installation by typing "mysql", I receive an ERROR message...

Here's the problem at hand:

Raven:~ untz$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Here's my .bash_profile:

Raven:~ untz$ cat .bash_profile
. ~/.profile
AXIS_HOME="/Developer/axis-1_3";
AXIS_LIB="$AXIS_HOME/lib";
AXISCLASSPATH="$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar: $AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar: $AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/ xercesImpl.jar"; JAVA_HOME="/System/Library/frameworks/JavaVM.framework/Versions/1.5.0/ Home";
J2EE_HOME="/Developer/JavaTools/j2sdkee1.3.1";
J2ME_HOME="/Developer/JavaTools/j2me_wireless_toolkit2.2";
CATALINA_HOME="/Developer/JavaTools/tomcat/jakarta-tomcat-5.5.9";
MYSQL_HOME="/usr/local/mysql"
CLASSPATH=.:"$J2EE_HOME/lib/j2ee.jar":"$CATALINA_HOME/common/lib/ servlet-api.jar":"$CATALINA_HOME/common/lib/jsp-api.jar":"/Developer/ Database/hsqldb/lib/hsqldb.jar"; PATH=$PATH:$JAVA_HOME/bin:$J2EE_HOME/bin:$J2ME_HOME/bin:/usr/local/ bin:/opt/local/bin:$MYSQL_HOME/bin;
VIMRUNTIME="/Applications/Vim.app/runtime";
export AXIS_HOME AXIS_LIB AXISCLASSPATH JAVA_HOME J2ME_HOME J2EE_HOME CATALINA_HOME MYSQL_HOME PATH VIMRUNTIME bash

Can anyone tell me what possibly I am doing wrong?

Many, many thanks!

-Unnsse

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

Reply via email to