Mistake
SQL query:
CREATE TABLE IF NOT EXISTS `attend` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`name` varchar(15) NOT NULL DEFAULT 'name',
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`timeing` time NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;
MySQL said: Documentation
I am migrating my databases. I exported the entire database at once.
Therefore, during import, I cannot select a separate database.
And, by directly importing the sql file, I get the above error.
Possible solutions found on the phpmyadmin database import error
But I don’t know how to implement this solution for about 30 databases in the .sql file
Please help me since I deleted the old database after exporting the entire database and you need to import mASAP.
source
share