Installing OpenCMS to an existing database

(Difference between revisions)
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Installing to an existing database ===
 
=== Installing to an existing database ===
 
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

Revision as of 07:36, 9 February 2008

Installing to an existing database

The OpenCMS setup does not have a feature to use an existing database.

Installing to an existing database

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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox