The MySQL service fails to run just after MySQL install : what's wrong ?

This is a discussion on The MySQL service fails to run just after MySQL install : what's wrong ? within the MySQL Database forums, part of the Database Forums category; Hi. I have a CGI project using PHP/MySQL to work on, then I'm starting to install the development ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-20-2007
YoLed
 
Posts: n/a
Default The MySQL service fails to run just after MySQL install : what's wrong ?

Hi. I have a CGI project using PHP/MySQL to work on, then I'm starting
to install the development environment on my own station (even if final
will be on remote one).

My station is a Windows 2000 Pro FR in a LAN. Actually, I've
successfully installed and tested Apache 2.0 and PHP 5 ; I've also Perl
5.8 but it's another subject.

From the point to install MySQL, I've downlowded "mysql-5.1.22-rc-
win32.zip" (84MB). Then, I've ran setup.exe : the installation has been
successfull. At the end, I've choosen to launch the Config Wizard on
which I've simply indicated a root password and to start MtSQL as a
service at Windows start-up.

To finish, I've restarted my PC... And the problem is that the MySQL
service is not running. I've started to run it manually, but it fails.
Here is what I can see in the .err file in the "e:/mysql/data" directory
(knwoing I've installed MySQL under "e:/mysql").

***********
InnoDB: Error: log file .\ib_logfile0 is of different size 0 5242880
bytes
InnoDB: than specified in the .cnf file 0 10485760 bytes!
071220 13:00:00 [ERROR] Plugin 'InnoDB' init function returned error.
071220 13:00:00 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE
failed.
071220 13:00:00 [ERROR] Unknown/unsupported table type: INNODB
071220 13:00:00 [ERROR] Aborting

071220 13:00:00 [Note] E:\mysql\bin\mysqld: Shutdown complete
***********

I don't know what's going wrong and what to do. I'm new in the MySQL
field and what I read here doesn't speak to me.

I've though to donwload the MySQL GUI Tools (mysql-gui-tools-5.0-r12-
win32.msi), but maybe it's better to solve this service problem first...

Could you help me to get a good and running MySQL Server ?
Reply With Quote
  #2 (permalink)  
Old 12-20-2007
J.O. Aho
 
Posts: n/a
Default Re: The MySQL service fails to run just after MySQL install : what'swrong ?

YoLed wrote:

> To finish, I've restarted my PC... And the problem is that the MySQL
> service is not running. I've started to run it manually, but it fails.
> Here is what I can see in the .err file in the "e:/mysql/data" directory
> (knwoing I've installed MySQL under "e:/mysql").
>
> ***********
> InnoDB: Error: log file .\ib_logfile0 is of different size 0 5242880
> bytes
> InnoDB: than specified in the .cnf file 0 10485760 bytes!


The logfile on the hard drive is of a different size than what is specified in
your my.ini, a quick fix is to ensure that the mysqld is not running and then
just delete the ib_logfile0 and then start up mysql.

--

//Aho
Reply With Quote
  #3 (permalink)  
Old 12-20-2007
YoLed
 
Posts: n/a
Default Re: The MySQL service fails to run just after MySQL install : what's wrong ?

In article <5sv87iF1bhg1dU1@mid.individual.net>, user@example.net
says...
> The logfile on the hard drive is of a different size than what is specified in
> your my.ini, a quick fix is to ensure that the mysqld is not running and then
> just delete the ib_logfile0 and then start up mysql.
>


Not really understood the reason why, but I'vs followed your tip and it
works. Thanks a lot J.O. Aho :)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0