Installing OpenCMS to an existing database
From OpenCms Wiki
(Difference between revisions)
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
== Installing to an existing database == | == Installing to an existing database == | ||
− | The | + | The OpenCms setup does not have a feature to use an existing database. |
+ | |||
+ | === Instruction === | ||
− | |||
1. Create a database on your server with e.g. "opencms" as name and a user (common for webhosting services). | 1. Create a database on your server with e.g. "opencms" as name and a user (common for webhosting services). | ||
+ | |||
2. Try to access your database and insert/run the codes of the file located in the uzipped WAR under: | 2. Try to access your database and insert/run the codes of the file located in the uzipped WAR under: | ||
− | \setup\database\mssql\create_tables.sql | + | |
+ | \setup\database\mssql\create_tables.sql | ||
+ | |||
You can insert the code of the file into a command line using phpMyAdmin or create a scriptlet that does it for you. | You can insert the code of the file into a command line using phpMyAdmin or create a scriptlet that does it for you. | ||
+ | |||
3. Now run the setup. | 3. Now run the setup. | ||
+ | |||
4. On step where you have to setup user accounts, fill in both users with the user created in step #1. | 4. On step where you have to setup user accounts, fill in both users with the user created in step #1. | ||
+ | |||
5. Check the "Don't create database and tables" button and click "continue" button | 5. Check the "Don't create database and tables" button and click "continue" button | ||
+ | |||
6. Continue with the setup | 6. Continue with the setup | ||
+ | |||
+ | --[[User:Sidesonic|Sidesonic]] 07:40, 9 February 2008 (CET) |
Latest revision as of 09:05, 7 May 2009
Installing to an existing database
The OpenCms setup does not have a feature to use an existing database.
Instruction
1. Create a database on your server with e.g. "opencms" as name and a user (common for webhosting services).
2. Try to access your database and insert/run the codes of the file located in the uzipped WAR under:
\setup\database\mssql\create_tables.sql
You can insert the code of the file into a command line using phpMyAdmin or create a scriptlet that does it for you.
3. Now run the setup.
4. On step where you have to setup user accounts, fill in both users with the user created in step #1.
5. Check the "Don't create database and tables" button and click "continue" button
6. Continue with the setup
--Sidesonic 07:40, 9 February 2008 (CET)