List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:March 14 1999 12:20am
Subject:help with connect error
View as plain text  
Verle Harrison writes:
 > Hi folks:
 > 
 > I am getting this error when I try to telnet on to server and go into mysql:
 > 
 > ERROR 2002: Can't connect to local MySQL server (2)
 > 
 > but I can access mysql just fine via PHP.  (grep shows mysql to be running also)
 > 
 > Two questions:
 > 
 > 1.  What is wrong?
 > 
 > 2. Where can I find a list of error messages generated my mysql and an
 > explanation of them-- what does 2002 mean and what does the (2) mean? I have
 > gotten other numbers in the () such as (146)
 > 
 > 
 > --
 > Regards,
 > 
 > Verle Harrison
 > Battery Wholesale Distributors
 > 2605 Gabriel View Dr
 > Georgetown, TX 78628
 > 512.869.6280 ph   512.942.1036 fax
 > Batteries for your UPS
 > http://batterywholesale.com/
 > batterywholesale@stripped

Hi!

First of all, send data on the version of MySQL, on the make and
version of OS and versions of C and thread libs. Use it preferably
with mysqlbug script.

When you connect from other machines, you must have either a user with 
privileges to connect from any host, which is designated by '%' char
in host field of user table, or you have entered a host name or ip
into the host table.

Beside that, your TCP/IP should be well setup with BIND or duly
maintained /etc/hosts file.

Sinisa

+---------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___        ==  mysql@stripped        |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|        Sinisa Milivojevic      |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|        mailto:sinisa@stripped |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|        Belgrade                |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|_____   Serbia                  |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                           |
|             /*/             \*\                   Developers Team   |
+---------------------------------------------------------------------+
Thread
help with connect error(Verle Harrison)13 Mar
  • help with connect errorsinisa14 Mar
  • help with connect errorMichael Widenius15 Mar
  • Re: MySQL 5.0.0 has been releasedadburne24 Dec
  • Re: MySQL 5.0.0 has been releasedThomas Spahni29 Dec
    • Re: MySQL 5.0.0 has been releasedMikhail Entaltsev29 Dec
    • Re: MySQL 5.0.0 has been releasedSergei Golubchik29 Dec
Re: MySQL 5.0.0 has been releasedHeikki Tuuri29 Dec