phpmyadmin

Locked

Started by synaptech on 23 May 2006, 3:50 PM · Views: 3,319

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
23 May 2006, 3:50 PM
#1
synaptech avatar

synaptech

New Zenner

Join Date:
Jun 2005
Posts:
27
Plugin Contributions:
0

phpmyadmin

Hi,

I am having trouble with phpmyadmin either 2.6.2 or 2.8.1; specifically I can't seem to re-import the SQL dump file into a new database. I have looked in the FAQ's, the DOC's, and the forum but I can't seem to find explicit instructions as to what needs to be enabled for a successful transfer.

Using these instructions (which has worked in the past - but don't work now....which is why I am posting)

 3. Make a COMPLETE backup of your DATABASE and STORE.
 a. Use either the "Backup MySQL Database" contribution under Admin->Tools to do
 the backup of your database, or use phpMyAdmin to export your entire database ...
 include  the "DROP" tables command, and under Data, choose "Complete Inserts"
 and "Extended Inserts".

Save the SQL file to your PC for later.

When importing the dump file with phpmyadmin 2.6.2 I get a SQL query error saying there is no data. My file is about 3.6M and opening it in a text editor does in fact reveal data.

When using phpmyadmin 2.8.1 I get the following error : " import.php: Missing parameter: import_type
import.php: Missing parameter: format

So, what are the recommended phpmyadmin EXPORT settings? I am doing something fundamentally wrong.

Thanks

23 May 2006, 10:52 PM
#2
synaptech avatar

synaptech

New Zenner

Join Date:
Jun 2005
Posts:
27
Plugin Contributions:
0

Re: phpmyadmin

An update,

I failed utterly with PHPMYADMIN, I attempted to use the Mysql Backup Mod and it couldn't find the MYSQLDUMP executable and had repeated errors. Sooo, I downloaded an App called Navicat and it rocked and rolled. Success.

I am using a Mac OSX server v10.3.9. I don't know if the mysql or php daemon or something else is hosed. They work fine in every other respect, the cart is upgraded to 1.3.1 and everything tests out ok.

If anyone has any insight as to why phpmyadmin is failing I would love to know.

23 May 2006, 11:35 PM
#3
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: phpmyadmin

If anyone has any insight as to why phpmyadmin is failing I would love to know.

From my personal opinion, I'd say you did pretty well on using navicat for this. I really like their software interface. Pretty simple to use and understand it's basis. :thumbsup:

24 May 2006, 12:55 AM
#4
synaptech avatar

synaptech

New Zenner

Join Date:
Jun 2005
Posts:
27
Plugin Contributions:
0

Re: phpmyadmin

Agreed Oracle,

As a total noob, the interface helped tremendously for troubleshooting. I think I might submit a tutorial for review for the rest of us OSX folk. Hopefully, I can keep someone else from spending a day doing this.

8 Jun 2006, 1:05 PM
#5
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: phpmyadmin

I haven't the error message for my issue, but I am trying another approach.

Can I delete specific fields in the new database and then import the same fields from the old database. I don't want to import the whole database as there's a whole lot of info I don't want in my new site.

8 Jun 2006, 1:36 PM
#6
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: phpmyadmin

Can I delete specific fields in the new database and then import the same fields from the old database.

Even better. With mySQL-Front Software, you can easily send old fields to new fields - all by wizard interface process (left to right window). Which means, no need to delete any fields in order to accomplish this. :thumbsup:

It's easy, efficient and quickly done !

8 Jun 2006, 3:15 PM
#8
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: phpmyadmin

No, this one is available from: http://www.mysql-front.de .

8 Jun 2006, 7:41 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: phpmyadmin

synaptech:

When importing the dump file with phpmyadmin 2.6.2 I get a SQL query error saying there is no data.This is usually a result of mismatched MySQL versions ... you did a backup from v3.x and tried to restore to 4.x.

synaptech:

So, what are the recommended phpmyadmin EXPORT settings?
Doing Backups with phpMyAdmin

There is an option in the newer phpMyAdmin interfaces to select a MySQL compatibility mode before exporting ... if you know you're moving from an older version to a newer version, you are advised to select the newer-version value from the compatibility pulldown menu.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.