You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/04/14 20:23:33 UTC

[09/13] incubator-trafficcontrol git commit: changed the createdb to use the newly created traffic_ops user

changed the createdb to use the newly created traffic_ops user


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/9937a384
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/9937a384
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/9937a384

Branch: refs/heads/master
Commit: 9937a384044d090f184cc9175972e4de6e04db10
Parents: 3b53fbf
Author: Dewayne Richardson <de...@apache.org>
Authored: Thu Apr 13 13:59:39 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Apr 14 14:22:51 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/db/admin.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/9937a384/traffic_ops/app/db/admin.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/admin.pl b/traffic_ops/app/db/admin.pl
index c11fffb..e5a0e15 100755
--- a/traffic_ops/app/db/admin.pl
+++ b/traffic_ops/app/db/admin.pl
@@ -207,7 +207,7 @@ sub createdb {
 		print "Database $db_name already exists\n";
 		return;
 	}
-    my $cmd = "createdb -h $host_ip -p $host_port -U $db_super_user --owner $db_user $db_name;";
+    my $cmd = "createdb -h $host_ip -p $host_port -U $db_user --owner $db_user $db_name;";
 	if ( system($cmd) != 0 ) {
 		die "Can't create db $db_name\n";
 	}