我下载了一个
MySQL备份文件并及时导入到MAMP的PHPMyAdmin中.我懂了
返回:
返回:
Error sql query: -- -- Database: `MysqL` -- -- -------------------------------------------------------- -- -- Table structure for table `columns_priv` -- CREATE TABLE IF NOT EXISTS `columns_priv` ( `Host` CHAR( 60 ) COLLATE utf8_bin NOT NULL DEFAULT '',`Db` CHAR( 64 ) COLLATE utf8_bin NOT NULL DEFAULT '',`User` CHAR( 16 ) COLLATE utf8_bin NOT NULL DEFAULT '',`Table_name` CHAR( 64 ) COLLATE utf8_bin NOT NULL DEFAULT '',`Column_name` CHAR( 64 ) COLLATE utf8_bin NOT NULL DEFAULT '',`Timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,`Column_priv` SET( 'Select','Insert','Update','References' ) CHARACTER SET utf8 NOT NULL DEFAULT '',PRIMARY KEY ( `Host`,`Db`,`User`,`Table_name`,`Column_name` ) ) ENGINE = MYISAM DEFAULT CHARSET = utf8 COLLATE = utf8_bin COMMENT = 'Column privileges'; MysqL said: #1046 - No database selected
我根本没有改变.sql文件.任何提示我如何让这只小狗去本地?
谢谢!