problem in subphase 6.1 step 1/mysql

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

problem in subphase 6.1 step 1/mysql

Postby munnabhai » Sat Sep 09, 2006 9:22 am

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
munnabhai
 
Posts: 2
Joined: Sat Sep 09, 2006 8:59 am

Postby SuPrSluG » Sat Sep 09, 2006 9:53 am

What distro do you use? Different distros place files in slightly differnt places.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby munnabhai » Sat Sep 09, 2006 10:33 am

hi
i am using slackware 10.2.and also i am follow the scratch install line by line .
plz help me
thanks
munnabhai
 
Posts: 2
Joined: Sat Sep 09, 2006 8:59 am

Postby SuPrSluG » Sat Sep 09, 2006 12:24 pm

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.
SuPrSluG
 
Posts: 71
Joined: Thu Aug 24, 2006 8:01 pm

Postby mflorell » Sat Sep 09, 2006 3:03 pm

Have you tried this:

ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 279 guests