ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

Hi, 

I've downloaded the following one
mysql-5.1.31-win32

after having unzipped the zip file I then locate to this folder

\mysql-noinstall-5.1.31-win32\mysql-5.1.31-win32\bin>

But after I've typed 'mysql' to go, I got this issue
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

 


Many Thanks & Best Regards,
HuaMin Chen

(Mark it as answer if it does help you!)
0
wmec
3/2/2009 4:51:42 AM
asp.net.mysql 1929 articles. 0 followers. Follow

1 Replies
1504 Views

Similar Articles

[PageSpeed] 10

try to instal mySql with the free tool "AppServ"... is more simple.
0
tabache
3/7/2009 7:49:34 PM
Reply:

Similar Artilces:

ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10
Hi, I am randomly getting the following error message in my application. ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10048) I am using .Net 2.0 with VS2005 having ODBC 3.51.14 Driver.  Can any body point out the core reasons of the above error message? Thanks. Nouman Khawaja. I do have the same problem, help me out. Thanks  If the going seems easy, You are going DownHill... When I was writing an app in C# I had to download MySQL driver for connecting to MySQL DB. Try downloading the one from http://dev.mysql.com/downloads/dotnet.html or google for: mysql connector netPlease remember to click “Mark as Answer” if the post helped you well I've been using this website since a long time. And it didn't prompt this error atleast since last 6 months.Today suddenly it started to display this message.If the going seems easy, You are going DownHill... Well from what I've read on mysql site this driver is old. First I would simply try to download a new driver. Wasn't the MySQL DB engine upgraded when it started to be buggy?Please remember to click “Mark as Answer” if the post helped you Well as I've told you that my site was in running condition since last 6 months. And it was working fine. And today i faced this problem. If the going seems e...

ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10061)
Greetings all! I have this weird error "ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10061)" on my website that is supposed to connect to a MySQL database on a different server (NOT localhost). Here's the scenario: I develop my ASP.Net 2.0 website on my PC using this connection string for my ObjectDataSource: <add name="ConnectionString" connectionString="Driver={MySQL ODBC 3.51 Driver};server:localhost; database=MYDBASE;uid=MYUID;pwd=MYPWD" providerName="System.Data.Odbc" /> After testing and finding all pages working fine, I changed my connection string by replacing the server name to that specified by my Internet Hosting Company (along with the relevant dbase, uid, and pwd), buit my website and published it to a different virtual address on my local server (using Web Deployment Manager), and then copied the files onto my internet webspace. The weird thing is that the error keeps referring to the LOCALHOST server (this is the one I use in my Local PC). Could somebody please help resolve this problem? I've been trying to fix this error for a couple of days now and seem to be stuck with it. :( Thanks. Hello,Recheck your connection string. Also do one more thing to check connection. If you've MySQL administrator or Query browser tool, enter the name of server and database in it and test the connection.Also try using IP instead of server name.RegardsKuldeep DeokuleMCSD.NETBlog: http://dkuldeep.blogspot.comThis pos...

error 2003 - Can't connect to MySQL server on 'localhost' novell 6.5 mysql
I received this error on the dual homed server when I tired to load mysql.nlm and after I changed the ipaddress of the server and then tried to chage it back. My Php scripts were hanging and giving me the error "Can't connect to MySQL server on 'localhost' (60)". The mysqld_safe was loaded on the server just fine. Fix I went into Remote manager and clicked on Ip Address Management. Here I found Mysql and changed the address to 0.0.0.0 and the port number to the correct port. Then I modified my scripts to use the new ipaddress for database connectivity ins...

Can't connect to MySQL server on 'localhost' (10061)
Bugzilla: 3.0.2 MySQL: 5.0.45 perl: 5.8.8 OS: Windows XP Pro I belive I have everthing installed, and am trying to configure. Trying to run the checksetup, I am getting the error: Can't connect to the database. Error: Can't connect to MySQL server on 'localhost' (10061) The checksetup has 'ok' for all except PerlMagick, then tries to connect to DB. The question asked is "Is your database installed and up and running?" It is started in the Services: MySQL, and I see a process in the Task Manager: mysqld-nt.exe. I think the asnswer is yes. It also asks "Do you have coorect username and password." I can log into the mysql using bugs login and password I gave. checksetup is not giving a login error, I'm guessing that't not it. Thanks, Tom RT Yanas wrote on 12/31/07 3:38 PM: > I belive I have everthing installed, and am trying to configure. > > Trying to run the checksetup, I am getting the error: > > Can't connect to the database. > Error: Can't connect to MySQL server on 'localhost' (10061) > The checksetup has 'ok' for all except PerlMagick, then tries to > connect to DB. The question asked is "Is your database installed and > up and running?" It is started in the Services: MySQL, and I see a > process in the Task Manager: mysqld-nt.exe. I think the asnswer is > yes. The MySQL client libraries...

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.soc
2 day old install of 11.3; I installed MYSQL from yast2; 12 items relating to MYSQL are shown as installed; on a command line (as root) I get "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.soc" when I type MYSQL. Another problem ; Apache is installed and running, but my install of PHP from Yast has been troubled, and very much unlike what I read here : "http://www.novell.com/coolsolutions/feature/595.html" ; a web page with phpinfo() shows nothing; do I have to do another manual config of LAMP ? If so wh...

error
I just recently reinstalled MySQL-server-4.0.20-0.i386.rpm and now when I bring up my http://158.114.148.90/bugzilla/ page, I get the following error diplayed on the browser: Software error: Bugzilla is currently broken. Please try again later. If the problem persists, please contact long.p.nguyen@ngc.com. The error you should quote is: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at globals.pl line 140. For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error. What did I not do? ...

ERROR [HYT00] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'work' (10050)
Hi  I am facing problems with connecting to MySQL, I am using the same settings as before and earlier I was able to connect. I formatted the machine and now am getting problems.The following is my connection string:<add key="ConnectionString" value="Driver={mySQL ODBC 3.51 Driver};Server=servername;Database=dbname;Uid=uid;Pwd=pwd;Option=3;" />and I receive the following error:ERROR [HYT00] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'work' (10050) Please help me on this front. ThanksSandyLooking to check the time, goto http://whatisthe...

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Hi, I get the error when I try to connect.. :o(( What's wrong? TIA, Juan. ...

mysql 5.0.24 gives error "Can't find messagefile '\MYSQL\bin/\MYSQL\bin/sys:/mysql/share/english/errmsg.sys'"
Hi All I've just tried to do a small mysql update to 5.0.24, but it gives me an error: Can't find messagefile '\MYSQL\bin/\MYSQL \bin/sys:/mysql/share/english/errmsg.sys' I've tried adding basedir=sys:/mysql to the my.cnf: [mysqld] default-character-set=latin1 language=english bind-address=0.0.0.0 port=3306 datadir=web:/mysqldb basedir=sys:/mysql skip-locking skip-innodb but it didn't do any difference, does anybody have an idea to this? NetwareGuy, It appears that in the past few days you have not received a response to your posting. That co...

Re: mysql 5.0.24 gives error "Can't find messagefile '\MYSQL\bin/\MYSQL\bin/sys:/mysql/share/english/errmsg.sys'"
Is there a solution for this? Netware Guy posted it on 05 Aug 06. Thanks. ...

[MySQL] ERROR 2002 (HY000): Can't connect to local MySQL...
Hello, I've downloaded and installed MySQL-client-5.1.53-1.glibc23.x86_64.rpm. I'm rather new to linux so it might be I haven't started the server. Unfortunately I have no idea which file is responsible for that. It is also possible that my head isn't functioning correctly ( if at all ) since I haven't slept well so please don't eat me alive. Kill me at least. ;) Error I receive is: > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) -- starach ------------------------------------------------------------------------ Hi, If I'm correct (I'm not sure I remember), the command to start the server is : Code: -------------------- /etc/init.d/mysqld start -------------------- -- DaaX ------------------------------------------------------------------------ DaaX's Profile: http://forums.opensuse.org/member.php?userid=30380 View this thread: http://forums.opensuse.org/showthread.php?t=450901 This means that the mysql server is not running (and thus there is no socket). You must install the server packet as well and then start it as a service with yast from the system menu. -- Technology is 'stuff that doesn�t work yet.' -- Bran Ferren ------------------------------------------------------------------------ vodoo's Profile: http://forums.opensuse.org/member.php?userid=18902 View this thread: h...

''''''''''''''''''''
Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/1.7.2.0 GranParadiso/3.0a1 From URL: http://www.mozilla.org/projects/granparadiso/ Note to readers: Hendrix gives...

'Internet Explorer cannot display the webpage' OR "Failed to Connect Firefox can't establish a connection to the server at localhost:49824".
Hi, my project was working perfectly like a week ago, i.e the admin tool and testing on browser all worked fine before. Now, since when i connected a LAN cable to use the internet, the project stoped working. but the internet connection works fine. i tried removing the cable, restarting and testing again, but it made no difference. I have tried changing the firewall settings too, still no difference. I think when i connected the LAN cable to use the internet, it must have changed the settings of the MS web developer. also, when i run an ordinary *.aspx test file outside the project, (...

Couldn't connect to 'localhost' with origin from 'local_classpath_classes'
I have installed jconnect30 and JDK115 on windows NT using netscape navigator404. After running httpd script, I ran the sample applet isql in navigator through URL: http://localhost:8000/sample/gateway.html. But I got the Unexpected Exception: netscape.security.AppletSecurityException: security.Couldn't connect to 'localhost' with origin from 'local-classpath-classes'. please help me E-mail: mlsun@public1.sdjnptt.net.cn This is being caused by Communicator finding the SybDriver class locally rather than downloading it via HTTP. Start communicator by ...

'do' won't 'do' if '/'
Greetings to All from Au, Have a NetWare Perl 5.8.4 and wanted to tweak File\Spec\NW.pm to try and standardise on '/' separators. If I run a test script (t/uni/lower.t) with an unmodified NW.pm, it calls t/uni/case.pl, that, in case.pl, (when the path separators are '\'), the $file is '..\lib\unicore\To\Lower.pl' and the following code portion works, with $simple getting a returned table: sub casetest { my ($base, $spec, $func) = @_; my $file = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "lib", &qu...

Parameterprefix ('@', ':', '?') with MySQL (lite) over odbc
Hi! I cant get my gridview to work with a deletecommand with a parameterprefix. I use a mysql lite installation. If a change my deletecommand to a specific id that exists in the DB everything works properly but not with @original_id (or @id). Been stuck on this for ages so I really apprechiate help. Code: asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellPadding="5" DataSourceID="SqlDataSource1" EmptyDataText="Det finns för närvarande inga kurser att boka." ForeColor="#333333" GridLines="None" Font-Size="Small" Width="688px" Horizon...

'''''
Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 ...

couldn't connect to 'localhost' with origin from 'local_classpath_classes' #2
I have installed jconnect30 and JDK115 on windows NT using netscape navigator404. After running httpd script, I ran the sample applet isql in navigator through URL: http://localhost:8000/sample/gateway.html. But I got the Unexpected Exception: netscape.security.AppletSecurityException: security.Couldn't connect to 'localhost' with origin from 'local-classpath-classes'. please help me E-mail: mlsun@public1.sdjnptt.net.cn ...

I can't get no cache, I can't get no cache. 'Cause I try and I try and I try and, I can't get no, I can't get no cache.
I have fiddled out for days tinkering with the setting in about:config trying to get FireFox 12 to use the disk cache. I have NOT found the trick. This One Trick Pony ain't doing it like it used to up until recently. Pray tell anyone, What information can I share that will point a knowledgeable person to aid me in getting FF to disk.cache? I have also tried restarting FF with add-ons disabled, (There were NOT too many to do this to, so it was quick and easy) Here is my stab at trying to convey the information that MIGHT govern matters Using about:cache Information about the Cache Service Memory cache device Number of entries: 722 Maximum storage size: 30720 KiB Storage in use: 7331 KiB Inactive storage: 7331 KiB Offline cache device Number of entries: 0 Maximum storage size: 512000 KiB Storage in use: 0 KiB Cache Directory: C:\Documents and Settings\Administrator\Local Settings\Application Data\Mozilla\Firefox\Profiles\d9ws2fua.default\OfflineCache Checking that general folder area, There is a \profiles\xxccvv\cache folder - ITS EMPTY, even after visiting several ebay links Using about:cache?device=memory Information about the Cache Service Memory cache device Number of entries: 722 Maximum storage size: 30720 KiB Storage in use: 7331 KiB Inactive storage: 7331 KiB using about:cache?device=disk Information about the Cache Service No Other response on the screen for this attempt Using...

Help setting backup server on Linux: Can't open a connection to site 'SYB_BACKUP'. See the error log file in the SQL
Greetings, I'm very new to Sybase and i'm trying to backup up all our development databases using a remote server; The development Sybase server doesn't contain enougf free space to dump all the databases so i want to use a remote Backup server onto another Linux machine. I tried to run a simple dump of an small databse to a disk file but got this weird error: bash-2.05$ isql -Dmaster -Usa -SSYLNXDEV2 Password: 1> dump database NewBreak to "/opt/sybase-11.9.2/testdump.dmp" 2> go Msg 7205, Level 17, State 2: Server 'SYLNXDEV2', Line 1: ...

Re: I can't get no cache, I can't get no cache. ' Cause I try and I try and I try and, I can't get no, I can't get no cache.
<div>please com e see me about htis<br /> <br /> ------- Original Message f= rom the Global Relay Archive -------<br /> From: Hp &lt;ferd@farkel.net&gt;= <br /> To: "support-firefox@lists.mozilla.org" &lt;support-firefox@lists.mo= zilla.org&gt;<br /> Sent: Sun, 27 May 2012 18:30:18 -0700<br /> Subject: I = can't get no cache, I can't get no cache. 'Cause I try and I try and I try = and, I can't get no, I can't get no cache.<br /> <br /></div> <pre class=3D"gr-maex-body-pre&qu...

mysql start ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password
running openSuse 12.1 . on a notebook... well i configured apache 2 and mysql - (after starting it on the runlevel. well - i did all i needed to do - but now i stuck.... after installing phpmyadmin . i tried to find the site ... i couldnt then i tried to start the mysql via command line - which failed ... duhhhhhh!!?? What can i do now - what is wrong here Code: -------------------- linux-wyee:/home/martin # mysql start ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) linux-wyee:/home/martin # ...

Error:Can't connect to MySQL server (10060)
Hi all,I created a simple page in asp.net2.0 using c#  to insert some data in remote data base which is in mysql.xxxx.aspx.cs String strsql, Connstring;         OdbcCommand cmd = new OdbcCommand();         OdbcConnection MyConnection = new OdbcConnection();         strsql = "insert into underwritinginspection(CompanyName ) values('paricomputers')";         Connstring = System.Configuration.ConfigurationManager.AppSettings["MyConnection"].T...

Web resources about - ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061) - asp.net.mysql

Resources last updated: 3/8/2016 8:33:21 AM