Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 to server version: 5.0.27-community-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select version(); +---------------------+ | version() | +---------------------+ | 5.0.27-community-nt | +---------------------+ 1 row in set (0.08 sec) mysql> create table if not exists tasks ( id int ); ERROR 1046 (3D000): No database selected mysql> use test Database changed mysql> create table if not exists tasks ( id int ); Query OK, 0 rows affected (0.11 sec) mysql>