I’m confused

SQL file not creating tables in Dreamweaver CS4 the missing manual

Tutorial starting on page 833. I create the cosmofarmer database. Then when I click import and select cosmofarmer.sql then click go I get this message;

Error
SQL query:

--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (

`categoryID` mediumint( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
`categoryName` varchar( 64 ) NOT NULL ,
PRIMARY KEY ( `categoryID` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =7;

MySQL said:

#1046 - No database selected
1 person has
this question
+1
Reply