There’s something wrong with your backup file. The information_schema database is part of your MySQL setup and has nothing to do with WordPress. You need to remove all references to it from (a copy of) your backup file.
Thanks esmi – I will do that now and try and import
Well I remove all the schema data – now I get the following message
Error
SQL query:
—————————————————— —
—
— Table structure for table INNODB_IO_PATTERN
—
CREATE TEMPORARY TABLE INNODB_IO_PATTERN
(
SPACE
BIGINT( 11 ) NOT NULL DEFAULT ‘0’,
OFFSET
BIGINT( 11 ) NOT NULL DEFAULT ‘0’,
INDEX_ID
BIGINT( 11 ) NOT NULL DEFAULT ‘0’,
TABLE_NAME
VARCHAR( 32 ) NOT NULL DEFAULT ”,
INDEX_NAME
VARCHAR( 32 ) NOT NULL DEFAULT ”,
N_READ
BIGINT( 11 ) NOT NULL DEFAULT ‘0’,
N_WRITE
BIGINT( 11 ) NOT NULL DEFAULT ‘0’
) ENGINE = MEMORY DEFAULT CHARSET = utf8;
MySQL said:
#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘——————————————————–
—
— Table structure ‘ at line 1
which looks a bit nasty
Again, that table has nothing to do with WordPress. Remove all references to it.
Thanks Esmi I did that – now I get the following
Error
SQL query:
DATABASE : red1225804151029
—
CREATE DATABASE red1225804151029
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
MySQL said:
#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘Database: red1225804151029
CREATE DATABASE red1225804151029
DEFAULT CHARACTE’ at line 1
red1225804151029 being the name of the database I originally backed up. This is NOT the name of the database I am trying to upload to
Then you need to change all references from red1225804151029 to the new database name. And remove:
DATABASE : red1225804151029 --
CREATE DATABASE red1225804151029 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Would it be possible for me to send you the original database dump to take a look at? it seems a bit weird that the extra stuff was in there.
I’m sorry but these forums do not offer support by email and I, personally, only offer email support to commercial clients.
oh ok – I am getting any where?
What was the table prefix used in your old site (the default is wp_
)?
I think it is wp_ for instance further down the text file is the entry “– Table structure for table wp_ai1ec_event_category_colors
”
Then remove all references to any tables that don’t use the wp_ prefix.