Zen Cart Logo
Forums / Installing on a Windows Server / Uploading Large SQL files to phpMyAdmin

Uploading Large SQL files to phpMyAdmin

Locked

Views: 4,104

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
05 Jan 2008, 07:45
#1
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Uploading Large SQL files to phpMyAdmin

I'm in the process of doing a site upgrade and have reinstalled zencart on my localhost (Win XP) I have downloaded my existing sql database from my webhost which is approx 34M.

I have created the new database in phpmyadmin using the same file name as the existing database.

I have amened the permissable file sizes in the php config file within WinAmp, but I still get the error regarding the file that I am trying to upload is too large.

Does anyone have any suggestions..????

05 Jan 2008, 08:12
#2
gsis avatar

gsis

Zen Follower

Join Date:
Jun 2007
Posts:
140
Plugin Contributions:
0

Re: Uploading Large SQL files to phpMyAdmin

05 Jan 2008, 08:15
#3
drbyte avatar

drbyte

Sensei

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

Re: Uploading Large SQL files to phpMyAdmin

When working locally or when I need access to large databases, I use the free SQLyog windows application, available at https://www.webyog.com

05 Jan 2008, 08:22
#4
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Uploading Large SQL files to phpMyAdmin

Thanks guys,

Found out the error, was editing the wrong php config file, I edited the one in C:\Wamp\php instead of C:\Apache2\bin

Changing the values in the correct file really does help..

Thanks for the responses and will also check out the other options next time around

05 Jan 2008, 08:32
#5
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Uploading Large SQL files to phpMyAdmin

Fixing one problem gives rise to another.

The database uploaded ok (so it would appear), but when I go to //localhost/zencart, I get an error message "...seems to be a problem connecting to our database. Please give us a few minutes...... etc etc etc..

If I try and get into Admin I get another error message

0 DB_ERROR_NOT_CONNECTED in [select * from project_version_key = Zen-Cart Database']

05 Jan 2008, 08:33
#6
drbyte avatar

drbyte

Sensei

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

Re: Uploading Large SQL files to phpMyAdmin

Is the DB_PREFIX the same in your local PC's configure.php files as it was on your server?

05 Jan 2008, 08:40
#7
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Uploading Large SQL files to phpMyAdmin

DrByte:

Is the DB_PREFIX the same in your local PC's configure.php files as it was on your server?

Thanks, yes I verified that and the dabase is the same as the config files in includes and admin includes.

Now all good to go.. Thanks Doc... I can keep a few of my hairs again.. even tho I am a day older tomorrow..!