473,748 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5333
"Frances" <fd***@yahoo.co m> wrote in message
news:44******** *************** @news.sunsite.d k...
| 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.co m> wrote in message
news:44******** *************** @news.sunsite.d k...
| 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
2859
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 happens except an error on mysql_select. Has mysql problems from included files or what could be the problem? with kind regards
12
3295
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: http://www.example.org/test/delete_entry.php?id=35 And here's the script: <? include("dbinfo.inc.php");
2
1951
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/ MYSQL-server-4.0.15-i386.rpm MYSQL-client-4 (do not remeber the name). when i execute i get "NOKEY, keyid 5072e1f" which i do not know what it means. and i get an error message too Error "package MYSQL-server is not relectotable".
0
1267
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 struggling. I run the following command below and the console appears with InnoDB commands c:\mysql\bin\mysqld --console
1
1234
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 code: -------------------------------- string MyConString = "DRIVER={MySQL ODBC 3.51 Driver};" + "SERVER=hostnameatdiscountasp;" +
6
1166
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 mysql/asp.net 2 site? this is the address of my portal if you want to take a look http://www.aspnetdir.com i appreciate your comments
2
2638
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 no problems. I can run several instances of the program at the same time with no problem. Them problem arrives when I try to distribute the tasks to different machines, for example, in a cluster. In this situation, the machine that
2
2328
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 error. " When am checking the event viewer log i got "C;/Program files/Xampp/Mysql-nt.exe Disk is full","Waiting for some one to free space errcode 28"... See the Screen shot .... What is the problem...how i can solve it.....Is this related to space...
7
6047
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 for user "root" when I am trying perform backup with mysqldump I am getting the strange error I am trying with the folowing command d:\xampp\mysql\bin\mysqldump -u -p
0
8983
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8822
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9359
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9236
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8235
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6072
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3298
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.