From c6c36e6b38199844ca66b7787605b53e9f974905 Mon Sep 17 00:00:00 2001 From: Hikmat Dhamee Date: Tue, 6 May 2014 09:36:22 -0700 Subject: [PATCH] add `use sqoop` statement If I don't use the `use database_name;` statement,tables are being created in default database `mysql`. --- mysql.tables.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql.tables.sql b/mysql.tables.sql index 75275cb..1d9e177 100644 --- a/mysql.tables.sql +++ b/mysql.tables.sql @@ -14,6 +14,9 @@ -- See the License for the specific language governing permissions and -- limitations under the License. +-- Select database sqoop +USE sqoop; + -- Create table cities CREATE TABLE `cities` ( `id` INTEGER UNSIGNED NOT NULL,