Hello! I've created a mysql database called "example". Then I've created a new sql file called "database.sql".
Now I''m having problems with creating tables.
I've written this code in database.sql editor:
CREATE TABLE picture (
`id` int(10) NOT NULL auto_increment,
`image` blob,
PRIMARY KEY (`id`)
);
But when I execute this code the error is:
CREATE TABLE picture (
`id` int(10) NOT NULL auto_increment,
`image` blob,
PRIMARY KEY (`id`)
);
No database selected
even if I've selected the database!
I've also tried to create a new SCHEMA, and then a table. It's works but then I cant see the table in my database.
Someone can help me?? Thanks!
[SOLVED!]
[Updated on: Sun, 18 March 2012 13:33] by Moderator