Page 1 of 1

problem in subphase 6.1 step 1/mysql

PostPosted: Sat Sep 09, 2006 9:22 am
by munnabhai
hi sir
plz help me fpr subphase6.1
when i type
cd /usr/local/mysql/bin/mysql
then error is
-bash: cd: /usr/local/mysql/bin/mysql: Not a directory
and in typing -bash: cd: /usr/local/mysql/bin/mysql: Not a directory
then error is
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
so what is right way?
actually in directory /usr/local/mysql/bin/mysql i have only mysql executable file exist
thanks

PostPosted: Sat Sep 09, 2006 9:53 am
by SuPrSluG
What distro do you use? Different distros place files in slightly differnt places.

PostPosted: Sat Sep 09, 2006 10:33 am
by munnabhai
hi
i am using slackware 10.2.and also i am follow the scratch install line by line .
plz help me
thanks

PostPosted: Sat Sep 09, 2006 12:24 pm
by SuPrSluG
You can't cd /usr/local/mysql/bin/mysql into it because it is a (binary) file not a directory, bin is the directory. If you type /usr/local/mysql/bin/mysql do you go to a mysql> prompt? If not mysql is not running.

PostPosted: Sat Sep 09, 2006 3:03 pm
by mflorell
Have you tried this:

ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock