<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Create System-DB on DB-Server without EngineConfigurationUI</title><link>https://answers.axonivy.com/questions/1164/create-system-db-on-db-server-without-engineconfigurationui</link><description>&lt;p&gt;With the AxonIvyEngineConfigurationUI I can create a MS-SQL DB on my developer workstation. In production I do not have enough rights to create a System-DB on the SQL Server. So our operations team must create the empty System-DB without Java on the DB-Server. Is there a dump that can be used to for this task?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1164/create-system-db-on-db-server-without-engineconfigurationui" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 17 Feb 2015 14:19:54 -0500</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1164/create-system-db-on-db-server-without-engineconfigurationui/1165</link><description>&lt;p&gt;The Configuration UI uses 3 SQL scripts that can be used. The creation scripts are in a engine JAR. Get the them as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the engine JAR /lib/ivy/ch.ivyteam.ivy.persistence-XXX.jar with a ZIP viewer like 7-ZIP&lt;/li&gt;
&lt;li&gt;Navigate to ch\ivyteam\ivy\persistence\db\mssqlserver\&lt;/li&gt;
&lt;li&gt;Extract the 3 files that start with "create": CreateBaseDatabase.sql, CreateDatabase.sql, CreateSystemApplication.sql &lt;img alt="scripts in JAR" src="http://answers.axonivy.com/upfiles/createScripts.png"&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Pass the 3 scripts to your DB-Admin. The admin should create a new DB and execute the scripts in order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;CreateBaseDatabase.sql &lt;/li&gt;
&lt;li&gt;CreateDatabase.sql: within this script the parameter {0} must be replaced with the name of the DB that was created by the DB-Admin. Execute the script and restart the Sql Server Management Studio. A prompt will ask to close open transactions. Confirm this prompt. &lt;img alt="replace command" src="http://answers.axonivy.com/upfiles/setQueryParameter.png"&gt;&lt;/li&gt;
&lt;li&gt;CreateSystemApplication.sql&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Aftewards you can can connect to the System-DB with the AxonIvyEngineConfigurationUi and set the admin user + connection ports.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Hint: Likewise the DB creation scripts are also available for other System-DBs like MySql, Postgre, etc. and the install steps are similiar to MS-Sql.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Tue, 17 Feb 2015 14:19:54 -0500</pubDate><guid>https://answers.axonivy.com/questions/1164/create-system-db-on-db-server-without-engineconfigurationui/1165</guid></item></channel></rss>