Skip navigation links

MySQL Forums :: Newbie :: Error 2003 (HY000) can't connect to MySQL Server on localhost (10061)


Advanced Search

Error 2003 (HY000) can't connect to MySQL Server on localhost (10061)
Posted by: helen celerie ()
Date: July 28, 2005 12:12PM

Hello everyone,

please help i am so desperate, i am having big problem with MySQL 4.1.12win.zip. I have windows xp pro.

I've already installed
apache 2.0.54
php 4.3.11

i am able to install Mysql 4.1 fine, and it works, but when i turn off my computer and put it back on again, and use comand line client to sign in mysql i get this.

Error 2003 (HY000) can't connect to MySQL Server on localhost (10061) .

i've created my.ini which looks like this, and has put both in windows and system 32 directory.

[mysqld]
basedir="C:/Program Files/MySQL/MySQL Server 4.1/"
datadir="C:/Program Files/MySQL/MySQL Server 4.1/Data/"
port=3306
Server="C:/Program Files/MySQL/MySQl Server 4.1/bin/mysqld-nt.exe"
user=root
password=xxxxxxx

also here is my error log

050728 17:36:56 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 10 MB
InnoDB: Database physically writes the file full: wait...
050728 17:36:58 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
050728 17:37:09 InnoDB: Started; log sequence number 0 0
C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: ready for connections.
Version: '4.1.12-nt' socket: '' port: 3306 Official MySQL binary
050728 18:09:32 [Note] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Normal shutdown

050728 18:09:33 InnoDB: Starting shutdown...
050728 18:09:35 InnoDB: Shutdown completed; log sequence number 0 43634
050728 18:09:35 [Note] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Shutdown complete

InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
050728 18:13:14 [ERROR] Can't init databases
050728 18:13:14 [ERROR] Aborting

050728 18:13:14 [Note] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Shutdown complete

InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
050728 18:14:48 [ERROR] Can't init databases
050728 18:14:48 [ERROR] Aborting

050728 18:14:48 [Note] C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqld-nt: Shutdown complete


if anyone can help it would be much appreciated.

thanks

helen

Options: ReplyQuote


Subject Written By Posted
Error 2003 (HY000) can't connect to MySQL Server on localhost (10061) helen celerie 07/28/2005 12:12PM


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.