View Single Post
  #10 (permalink)  
Old 09-28-2008, 03:26 AM
David Powers
 
Posts: n/a
Diggs:
Default Re: MySQL Error# : 2002 in Dreamweaver CS3

chunkeung wrote:
> When I login into
> PHPMyAdmin I see that the Server is "Localhost via UNIX socket" so I put that
> into my setting in dreamweaver for the "MySQL server" but on the hosting that
> giving me that #2002 error message their Server is "127.0.0.1 via TCP/IP" and I
> tried to put in 127.0.0.1 instead of localhost but it still doesn't work and
> gives me this error message.


localhost and 127.0.0.1 are the same thing. All you need is "localhost"
or "127.0.0.1" (without the quotes). The "via UNIX socket" and "via
TCP/IP" are simply descriptions of the type of connection. They are NOT
part of the server address.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Reply With Quote