473,387 Members | 1,318 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

xampp -- MySQL problems....

a few days ago I installed XAMPP in my Windows 2000 machine, it
completely messed my existing MySQL installation.. I've had it installed
for over a year now (4.1) have never had any problems with it whatsoever
(I connect to it from Tomcat and from stand-alone Java classes), now
since I installed XAMPP I cannot connect to it at all, cannot start
service... I uninstalled XAMPP completely, and my MySQL server still
doesn't work.. so why does XAMPP not come with a warning that it can
mess up existing MySQL installations? can there be a version of it
without MySQL (and thus without the demos that pull info from db?) I
have spent two days now trying to fix this problem, and after trying to
get help here and elsewhere I still have not been able to fix this..

this is error I get (from .err file) when try to start service now:

InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760
bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
060607 22:47:57 [ERROR] Can't init databases
060607 22:47:57 [ERROR] Aborting

060607 22:47:57 [Note] mysqld.exe: Shutdown complete

was wondering if anybody has any idea how I can fix this (will problem
be fixed, do you think, if I re-install 4.1 (although it won't be exact
same version, will I be able to use my existing data with new
installation..)) thank you.. I'm very upset about this..... have
spent so much time dealing with this problem.... :( thank you...
Jun 8 '06 #1
5 5304
"Frances" <fd***@yahoo.com> wrote in message
news:44***********************@news.sunsite.dk...
| a few days ago I installed XAMPP in my Windows 2000 machine, it
| completely messed my existing MySQL installation.. I've had it installed
| for over a year now (4.1) have never had any problems with it whatsoever
| (I connect to it from Tomcat and from stand-alone Java classes), now
| since I installed XAMPP I cannot connect to it at all, cannot start
| service... I uninstalled XAMPP completely, and my MySQL server still
| doesn't work.. so why does XAMPP not come with a warning that it can
| mess up existing MySQL installations? can there be a version of it
| without MySQL (and thus without the demos that pull info from db?) I
| have spent two days now trying to fix this problem, and after trying to
| get help here and elsewhere I still have not been able to fix this..
|
| this is error I get (from .err file) when try to start service now:
|
| InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760
| bytes
| InnoDB: than specified in the .cnf file 0 5242880 bytes!
| 060607 22:47:57 [ERROR] Can't init databases
| 060607 22:47:57 [ERROR] Aborting
|
| 060607 22:47:57 [Note] mysqld.exe: Shutdown complete
|

I'm sorry you have had problems.

It came about as you installed MySQL 5 straight over a copy of MySQL 4.1.

It can be solved by editing your my.ini file.

Check the entry innodb_log_file_size=xxxxx

and change it to innodb_log_file_size=10M which is what it's expecting.

D.
Jun 8 '06 #2
Virginner wrote:
"Frances" <fd***@yahoo.com> wrote in message
news:44***********************@news.sunsite.dk...
| a few days ago I installed XAMPP in my Windows 2000 machine, it
| completely messed my existing MySQL installation.. I've had it installed
| for over a year now (4.1) have never had any problems with it whatsoever
| (I connect to it from Tomcat and from stand-alone Java classes), now
| since I installed XAMPP I cannot connect to it at all, cannot start
| service... I uninstalled XAMPP completely, and my MySQL server still
| doesn't work.. so why does XAMPP not come with a warning that it can
| mess up existing MySQL installations? can there be a version of it
| without MySQL (and thus without the demos that pull info from db?) I
| have spent two days now trying to fix this problem, and after trying to
| get help here and elsewhere I still have not been able to fix this..
|
| this is error I get (from .err file) when try to start service now:
|
| InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760
| bytes
| InnoDB: than specified in the .cnf file 0 5242880 bytes!
| 060607 22:47:57 [ERROR] Can't init databases
| 060607 22:47:57 [ERROR] Aborting
|
| 060607 22:47:57 [Note] mysqld.exe: Shutdown complete
|

I'm sorry you have had problems.

It came about as you installed MySQL 5 straight over a copy of MySQL 4.1. It can be solved by editing your my.ini file.

Check the entry innodb_log_file_size=xxxxx

and change it to innodb_log_file_size=10M which is what it's expecting.


people keep telling me to change this var.. when I first looked at it
yesterday it was already set to 10MB, today at someone's suggestion
changed it to 20MB, none of it made any difference.. I think I will
uninstall 4.1 and install it again, don't think I have any choice at
this point, I think I have exhausted all options here now..

and really I think XAMPP should come with a warning that this could
happen if you already have MySQL installed, and I think there should be
a verion of it w/o MySQL, so as not to cause these problems.. will have
to opt for http://us2.php.net/get/php-5.1.4-Win.../from/a/mirror if
want to do PHP any development on my machine, hopefully can it make it
work with IIS, is probably simpler than spending a whole week figuring
out how to config Apache.. oh man.. ok, Virginner, again, many thanks
for your help.. Frances
Jun 8 '06 #3
| people keep telling me to change this var.. when I first looked at it
| yesterday it was already set to 10MB, today at someone's suggestion
| changed it to 20MB, none of it made any difference.. I think I will
| uninstall 4.1 and install it again, don't think I have any choice at
| this point, I think I have exhausted all options here now..
|

Are you putting 10M or 10MB ?
Jun 9 '06 #4
| people keep telling me to change this var.. when I first looked at it
| yesterday it was already set to 10MB, today at someone's suggestion
| changed it to 20MB, none of it made any difference.. I think I will
| uninstall 4.1 and install it again, don't think I have any choice at
| this point, I think I have exhausted all options here now..
|
| and really I think XAMPP should come with a warning that this could
| happen if you already have MySQL installed, and I think there should be
| a verion of it w/o MySQL, so as not to cause these problems.. will have
| to opt for http://us2.php.net/get/php-5.1.4-Win.../from/a/mirror if
| want to do PHP any development on my machine, hopefully can it make it
| work with IIS, is probably simpler than spending a whole week figuring
| out how to config Apache.. oh man.. ok, Virginner, again, many thanks
| for your help.. Frances
|

(a) forgot... are you changing the right my.ini ? Make sure you don't have
more than one, and make sure you put 10M not MB
(b) when you install using XAMPP it *does* give you the option of whether
you want to install MySQL.
(c) I *still* suggest you scrub everything and use XAMPP. You can (assuming
there are no bits of MySQL or Apache or anything else floating around) be up
and running in 10 minutes flat. It's a hell of a lot easier than learning
how to configure Apache (or IIS) to work with PHP to work with MySQL, as it
does it all in one install. If you want to learn PHP, it's still the
quickest way to do it.

D.
Jun 9 '06 #5
Virginner wrote:
| people keep telling me to change this var.. when I first looked at it
| yesterday it was already set to 10MB, today at someone's suggestion
| changed it to 20MB, none of it made any difference.. I think I will
| uninstall 4.1 and install it again, don't think I have any choice at
| this point, I think I have exhausted all options here now..
|
| and really I think XAMPP should come with a warning that this could
| happen if you already have MySQL installed, and I think there should be
| a verion of it w/o MySQL, so as not to cause these problems.. will have
| to opt for http://us2.php.net/get/php-5.1.4-Win.../from/a/mirror if
| want to do PHP any development on my machine, hopefully can it make it
| work with IIS, is probably simpler than spending a whole week figuring
| out how to config Apache.. oh man.. ok, Virginner, again, many thanks
| for your help.. Frances
|

(a) forgot... are you changing the right my.ini ? Make sure you don't have
more than one, and make sure you put 10M not MB
(b) when you install using XAMPP it *does* give you the option of whether
you want to install MySQL.
(c) I *still* suggest you scrub everything and use XAMPP. You can (assuming
there are no bits of MySQL or Apache or anything else floating around) be up
and running in 10 minutes flat. It's a hell of a lot easier than learning
how to configure Apache (or IIS) to work with PHP to work with MySQL, as it
does it all in one install. If you want to learn PHP, it's still the
quickest way to do it.


once again, thanks D... it DOES give you an option of whether or not
you want MySQL??? I REALLY don't remember that.. I would have to see a
screen-shot of it or something.. I don't remember that at all (& most
probably I would have chosen 'no'...) I also don't see that option
here, http://www.apachefriends.org/en/xampp-windows.html#522 (I mean
does it install MySQL and then just give you option of not turning on
service? that would also scare me.. or can you install just Apache and
whatever you need for PHP without installing any MySQL stuff at all?
(and I assume in that case it wouldn't install demos that pull info from
db? that would make sense..) oh brother..

ok, I did re-install MySQL 1.4.. can basically reconnect ok, only am
having some problems (copied my db's back but can't read tables..), but
that's for another forum.. again many thanks..

Jun 9 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Wolfgang Lang | last post by:
Hello community! I am successfully using mysql connections and operations in more than one php file. But when I want to use this in an included (required("header.inc.php")) php file but nothing...
12
by: Gustaf Liljegren | last post by:
I've been learning using PHP and MySQL from the tutorial at freewebmasterhelp.com. Everything works fine, except deleting things. The script is invoked with a URL like this: ...
2
by: gamalt | last post by:
hi i am trying to follow the steps in installing mysql database. i should to install the , mysql package (binary) under /usr/local/. i tried the commad rpm -i --prefix=/usr/local/...
0
by: john townsley | last post by:
hi I have windowsXP and have downloaded the relevant copy of MySql. I run the setup and mysql is placed on c:\mysql.....OK so far. I am trying to follow the manual on mysql website but I am...
1
by: Matthew Workman | last post by:
Hi... I am trying to do a "basic" ODBC connection to my MYSQL Database being hosted at discountasp. For the life of me, I can't get anything to return... could someone lend a hand? Here is my...
6
by: aspnetdir | last post by:
i setup this asp.net 2 powered portal site to initially use mysql, i've run into so many problems most especially connection crashes, memory errors, etc. has anyone successfully implemented a...
2
by: Alfons Nonell-Canals | last post by:
Hello, I've developed a program using python that have to connect to a mysql server several times. In a local machine (running the program in the same machine where the mysql server is) I have...
2
by: maheswaran | last post by:
Hi all, Am using Mysql at windows 2003 server. When i generating the Mysql script through my php application i got "Could not retrieve the documents (could not retrieve the result) unknown...
7
by: samalphins | last post by:
I have very strange error mysqldump: Got error: 1045: Access denied for user ''@'localhost' (using p assword: YES) when trying to connect I have installed mysql freshly with blank password...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.