MySQL Forums
Forum List  »  MySQL Administrator

Re: ERROR 2003: Can't connect to MySQL server (10060)
Posted by: Josip Udovcic
Date: October 29, 2008 09:38AM

Hi there!

Im having a similar problem. I'm trying to connect to a DB using a Perl script. Everything is run locally.

I installed mysql using xampp. There is no problem using phpmyadmin och mysql-console. From there I can connect to the DB.

But when I run the script I get:
DBI connect('','root',...) failed: Can't connect to MySQL server on '3306' (10060) at ./ line 13
Failed to connect to mySQL server: Can't connect to MySQL server on '3306' (10060)

This what im getting from netstat:
$ netstat -n -a|grep 3306

Tried changing the port to 3307, but same result.

Running on WinXP, Novell Client. No local firewall active.

Please help!

Edited 1 time(s). Last edit at 10/30/2008 01:33AM by Josip Udovcic.

Options: ReplyQuote

Written By
August 24, 2007 01:26AM
October 16, 2007 07:54AM
October 18, 2007 03:44AM
Re: ERROR 2003: Can't connect to MySQL server (10060)
October 29, 2008 09:38AM

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.