MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Posted by: art martin
Date: June 14, 2009 12:52PM

hi ..

i'm in the same boat ..

i'm trying to teach myself PHP .. i'm following lynda.com training dvds. dude sets me up good .. php 5.1 apache 1.3 installed and good .. i'm at the part where i set up my MYSQL .. all is good till i get to this point.

_________________

i type:

art-martins-imac-g5:~ Martin$ which mysql
/usr/local/mysql/bin/mysql
art-martins-imac-g5:~ Martin$ sudo mysql_secure_installation
Password:




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):


_________________________


i have no idea what my password is .. and i get this:
_____________________________________________________

Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
_____________________________________________________

after hours i am completely about to snap .. i don't know what i did
i don't know what to do .. at this point i want someone to just show me exactly what i have to type .. please .. don't send me somewhere to read something .. if i have to change something .. okay .. show me exactly what to type to change it .. PLEASE!!!! .. I'm DYING!!!

i'm working on a imac g5 ppc .. running tiger .. if need be you can email me at info@forsix.ca

thanks .. thanks

Options: ReplyQuote


Subject
Written By
Posted
January 08, 2009 02:01PM
April 15, 2009 11:56AM
Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
June 14, 2009 12:52PM
October 21, 2009 06:18PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.