错误
SQL查询:
--
-- 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
我正在改变我的数据库.我一次导出了所有数据库.
因此在导入期间我无法选择单个数据库.
并通过直接导入sql文件我收到上述错误.
在phpmyadmin import database error找到可能的解决方案
但是不知道如何在.sql文件中为大约30个数据库实现此解决方案
请帮我,因为我在导出所有数据库后删除了旧数据库,并且需要导入mASAP.