Been doing this for awhile now (exporting from MAMP PRO using phpmyadmin, then importing the database to the staging server (enginehosting). Last night tried to do the same and it failed, giving me this error:
Error
SQL query:
--
-- Database: `dramee`
--
-- --------------------------------------------------------
--
-- Table structure for table `exp_accessories`
--
CREATE TABLE `exp_accessories` (
`accessory_id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`class` VARCHAR( 75 ) NOT NULL DEFAULT '',
`member_groups` VARCHAR( 255 ) NOT NULL ,
`controllers` TEXT,
`accessory_version` VARCHAR( 12 ) NOT NULL ,
PRIMARY KEY ( `accessory_id` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =5;
MySQL said:
#1050 - Table 'exp_accessories' already existsAny ideas what could be causing this? How can I fix it? And lastly, is there a better way to export/import databases between local and staging servers? Just want to make sure I’m engaging in best practices. Thanks!