ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbrodets...@apache.org
Subject git commit: AMBARI-4459: Not creating ambarirca database in MySQL DDL.(vbrodetskyi)
Date Wed, 29 Jan 2014 18:13:27 GMT
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 <vbrodetskyi@hortonworks.com>
Authored: Wed Jan 29 20:10:42 2014 +0200
Committer: Vitaly Brodetskyi <vbrodetskyi@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,


Mime
View raw message