Sounds like you have a TCP socket problem.  Is the database on a local
machine or a hosting provider?  What platform is it on wintel or *nix?

Thank you,
 
Todd Williamsen, MCSE
home: 847.265.4692
Cell: 847.867.9427


-----Original Message-----
From: Georgina Fang [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 15, 2001 10:14 PM
To: [EMAIL PROTECTED]
Subject: How to Access MySql Database?


Hi:

I telnet to the server.  But I can not get into MySql
database.  What's the problem?


% mysql
ERROR 2002: Can't connect to local MySQL server
through socket '/tmp/mysql.sock'
 (2)             

% mysql -p linksdb
Enter password:

Then I type in password, and got the following:

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

I also tried the following: 
(for username I typed in real username)

% mysql -u username -p
Enter password:
ERROR 2002: Can't connect to local MySQL server
through socket '/tmp/mysql.sock'
 (2)    

What's my problem?

Thanks in advance!

-- Georgina          


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals http://personals.yahoo.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to