If MySQL is running on the local machine, there are actually two ways you can connect to it; either via TCP/IP on the localhost address (127.0.0.1) or via a named pipe.
...Ofcourse, this doesn't actually explain the error you're getting, but it may help you bypass it: 4.2.2. Connecting to the MySQL Server
The article seems to suggest you may need to tweak things a bit on Windows to use named pipes on that platform.
Time flies when you don't know what you're doing
In reply to Re: connect to DBD::MYSQL
by FloydATC
in thread connect to DBD::MYSQL
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |