Error
SQL query:
--
-- Database: `attend`
--
-- --------------------------------------------------------
--
-- Table structure for table `attend`
--
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
#1046 - No database selected
I am shifting my databases. I exported all the database at once.
So during import I cannot select single database.
And by directly importing sql file i am getting the above error.
Possible solutions found on phpmyadmin import database error
But dont know how to implement this solution for about 30 database in .sql file
Please help me as i have deleted old database after exporting all database, and need to import mASAP.