You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2014/01/29 19:13:27 UTC

git commit: AMBARI-4459: Not creating ambarirca database in MySQL DDL.(vbrodetskyi)

Updated Branches:
  refs/heads/branch-1.4.4 9b163e089 -> 0052c7ca5


AMBARI-4459: Not creating ambarirca database in MySQL DDL.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0052c7ca
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0052c7ca
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0052c7ca

Branch: refs/heads/branch-1.4.4
Commit: 0052c7ca53dc76fc86b31605ccfb751dd7f50c66
Parents: 9b163e0
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Wed Jan 29 20:10:42 2014 +0200
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Wed Jan 29 20:10:42 2014 +0200

----------------------------------------------------------------------
 ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0052c7ca/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
index ed92c9f..a1c71e9 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
@@ -104,7 +104,8 @@ insert into user_roles(role_name, user_id)
 insert into metainfo(`metainfo_key`, `metainfo_value`)
   select 'version','${ambariVersion}';
 
-
+CREATE DATABASE ambarirca;
+USE ambarirca;
 
 CREATE TABLE workflow (
   workflowId VARCHAR(255), workflowName TEXT,