{"action":"closed","issue":{"url":"https://api.github.com/repos/unified-db/Database/issues/107","labels_url":"https://api.github.com/repos/unified-db/Database/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/unified-db/Database/issues/107/comments","events_url":"https://api.github.com/repos/unified-db/Database/issues/107/events","html_url":"https://github.com/unified-db/Database/issues/107","id":104591733,"number":107,"title":"Split DB Server Config Change","user":{"login":"spkansas","id":14100706,"avatar_url":"https://avatars.githubusercontent.com/u/14100706?v=3","gravatar_id":"","url":"https://api.github.com/users/spkansas","html_url":"https://github.com/spkansas","followers_url":"https://api.github.com/users/spkansas/followers","following_url":"https://api.github.com/users/spkansas/following{/other_user}","gists_url":"https://api.github.com/users/spkansas/gists{/gist_id}","starred_url":"https://api.github.com/users/spkansas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spkansas/subscriptions","organizations_url":"https://api.github.com/users/spkansas/orgs","repos_url":"https://api.github.com/users/spkansas/repos","events_url":"https://api.github.com/users/spkansas/events{/privacy}","received_events_url":"https://api.github.com/users/spkansas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T23:27:13Z","updated_at":"2015-09-04T20:58:16Z","closed_at":"2015-09-04T20:58:16Z","body":"Please add in means to support a split DB server config.  Dif as follows:\r\n\r\n```\r\n InstallFullDB.sh | 5 ++++-\r\n 1 file changed, 4 insertions(+), 1 deletion(-)\r\n\r\ndiff --git a/InstallFullDB.sh b/InstallFullDB.sh\r\nindex a64b462..6ea3f8c 100644\r\n--- a/InstallFullDB.sh\r\n+++ b/InstallFullDB.sh\r\n@@ -37,6 +37,9 @@ cat >  $CONFIG_FILE << EOF\r\n #\r\n ####################################################################################################\r\n \r\n+## Define the database host in which you want to add clean UDB (typically localhost)\r\n+DBHOST=\"localhost\"\r\n+\r\n ## Define the database in which you want to add clean UDB\r\n DATABASE=\"mangos\"\r\n \r\n@@ -86,7 +89,7 @@ fi\r\n \r\n . $CONFIG_FILE\r\n \r\n-MYSQL_COMMAND=\"$MYSQL -u$USERNAME -p$PASSWORD $DATABASE\"\r\n+MYSQL_COMMAND=\"$MYSQL -h$DBHOST -u$USERNAME -p$PASSWORD $DATABASE\"\r\n \r\n ## Print header\r\n echo\r\n"}}