我正在尝试通过将数据库导入我的服务器phpMyAdmin
,但出现以下错误,需要一些帮助才能找到问题。
SQL query: -- -- Database: `mydata` -- -- -------------------------------------------------------- -- -- Table structure for table `add_place` -- CREATE TABLE IF NOT EXISTS `add_place` ( `id` INT( 11 ) NOT NULL AUTO_INCREMENT , `place_name` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `place_tel` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `place_email` VARCHAR( 250 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `url` VARCHAR( 150 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `place_address` VARCHAR( 150 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `place_describe` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `place_cat` VARCHAR( 150 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , `image` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = INNODB DEFAULT CHARSET = latin1 AUTO_INCREMENT =21; MySQL said: #1046 - No database selected