Zen Cart Logo
Forums / Installing on a Windows Server / Weird behavior MySQL lists over 57k rows but XAMPP imports only 27k?

Weird behavior MySQL lists over 57k rows but XAMPP imports only 27k?

Views: 1,296

Results 1 to 4 of 4
30 Jun 2011, 2:58 AM
#1
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Weird behavior MySQL lists over 57k rows but XAMPP imports only 27k?

Maybe someone can explain this ...
I just copied(INSERTED), two tables, products and products description, into a fresh install 1.3.9h, under XAMPP, when I checked with PHPMyAdmin, it shows 57k+ rows, but and here's my surprise, ZC detects only 27k+ products?

I am just copying the tables into empty ones, why is that happening?
Do I miss something? Is there another table I need to insert in order to ZC recognize all 57k products?

30 Jun 2011, 4:54 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Weird behavior MySQL lists over 57k rows but XAMPP imports only 27k?

Just make a proper full DB backup and import that into your xampp install

https://www.zen-cart.com/tutorials/index.php?article=103

30 Jun 2011, 7:04 PM
#3
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Weird behavior MySQL lists over 57k rows but XAMPP imports only 27k?

kobra:

Just make a proper full DB backup and import that into your xampp install

https://www.zen-cart.com/tutorials/index.php?article=103

Can't do that as my cache is over 4.5Gb! Therefore I have to go importing just relevant tables ... Anyways I think the problem was some of these products have an inactive flag ... That's why it's displaying only 27k ...
Thanks for the suggestion, but in my case this solution is totally unworkable ...

30 Jun 2011, 10:44 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Weird behavior MySQL lists over 57k rows but XAMPP imports only 27k?

"cache"? If you're referring to a folder on your server, that's NOT the same as your database, so that's completely different than what kobra suggested about a DB backup. It's highly unusual for it to be that big, too, and suggests some significant problems you need to resolve with your site.

If you're referring to a table in your database named db_cache, you can safely truncate that table before doing a backup. And, it's highly unusual for it to be that huge.