This is a discussion on Error 2003 - Can't connect within the MySQL forums, part of the Database Server Software category; --> "Captain Paralytic" <paul_lautman@yahoo.com> wrote in message news:7a3f717c-5c3e-4523-823f-c228e683a2cd@b1g2000hsg.googlegroups.com... On 6 Jun, 15:57, "Gary" <feral...@westnet.com.au> wrote: > It solved it. See ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| "Captain Paralytic" <paul_lautman@yahoo.com> wrote in message news:7a3f717c-5c3e-4523-823f-c228e683a2cd@b1g2000hsg.googlegroups.com... On 6 Jun, 15:57, "Gary" <feral...@westnet.com.au> wrote: > It solved it. See the URL at the end of this email. > > ========================== > > "Gary" <feral...@westnet.com.au> wrote in message > > news:ZNudnUYA87QUWNrVnZ2dnUVZ8tvinZ2d@westnet.com. au... > > > > >>>>>> Gary wrote: > >>>>>>> Just in case someone suggests it, the fault isn't due to a > >>>>>>> firewall > >>>>>>> setting. After the crash I can't get the server to run. > > >>>>>>>> My PC crashed while running a query on a large database and now I > >>>>>>>> get the error 2003, Can't connect to MySQL on localhost (10061). > >>>>>>>> It's MySQL vs. 5.1 running on Win-XP. > > >>>>>>>> What can I do to fix it? > > >>>>>>>> Gary Luke > > >>>>>> What's your MySQL error log show? > > > <snip> > > >>> I've discovered a little more from looking into the error log. In the > >>> data folder there are three files called ib_logfile0, ib_logfile1 and > >>> ibdata1. If I temporarily shift them to another folder, MySQL server > >>> can > >>> start, can regognise all the table names from the databases, but says > >>> the databases don't exist. It also creates a new set of those three > >>> files. Next step, shut down MySQL server, put the three files back in > >>> place, and MySQL server can't start. > > >>> It looks like those three files have become corrupted. The first two > >>> are > >>> about 10meg each, the last is almost 6gig. > > >>> Question - Are all the databases held in the single file called > >>> ibdata1? > >>> Is there any way to repair this set of three files? > > >> Yes, by default, all InnoDB databases are in your ibdata1 file (the > >> others are log files for transactions & recovery). > > >> The good news is if you can do that, then the CRC check error is false. > >> The bad news is it means your innodb data file itself is corrupted. > > >> I've never had good luck getting data back once the file has been > >> corrupted. Maybe others have, but not me. I virtually always end up > >> restoring from backup. > > > Jerry > > > Thanks for your interest and the ideas, it led me to the error file. I > > found something which looks like it might solve it - I'm still carefully > > working through it bit by bit. > >http://forums.mysql.com/read.php?22,...450#msg-192450 > > "innob_force_recovery 1" allowed the server to run for 10 seconds. Not > > enough time to do a dump, but after another coffee I'll move on to the > > next stage. I keep telling myself. - "don't rush". > > > The backup is a couple of days out of date. I can repeat the last two > > days > > work but would rather not if it's possible. It was mainly figuring out > > some algorithms before programming procedures to verify various things > > about 2.3 million records. The thinking part of that is still in > > scribbles > > on paper - a back-up of my brain. > > > Gary- Hide quoted text - > > - Show quoted text - Please stop top posting. I tried that url and it didn't work Here it is again - http://forums.mysql.com/read.php?22,...450#msg-192450 Gary |