On 08/03/2011, at 12:47 PM, richdang wrote:
I tested on terminal and it works correctly. But on textmate, there is no thing happen when I use a database. My code: create database demo; ( it worked) use demo; ( when I show this message on corner right "use demo; 0 rows affected") then I try create a table in demo database. It shows no error but cannot create table because no database selected.
Have you tried configuring a connection using the menu Bundles/SQL/Preferences ?