I've tried deleting the database files - this was suggested before. No success.
Because Primary Key is mentioned, it makes sense that some of the data MySQL is trying to store in its tables duplicates the primary key. What would this data be?
The table that causes the script to die is columns_priv. There are seven columns in this table, and five of them are primary keys. Here is a dump for this table:
CREATE TABLE columns_priv (
Host char(60) NOT NULL,
Db char(60) NOT NULL,
User char(16) NOT NULL,
Table_name char(60) NOT NULL,
Column_name char(60) NOT NULL,
Timestamp timestamp(14),
Column_priv set('Select','Insert','Update','References') NOT NULL,
PRIMARY KEY (Host, Db, User, Table_name, Column_name)
);
So does anyone have any suggestions as to what data might be in the primary key, and why it is the same? Thank you.