Solution ID: prim29191 |
How to create a Collaboration MSDE 5.0 database via a script? |
Status: Reviewed |
Version(s): 5.0 |
From Primavera OCP
Problem: | How to create a Collaboration MSDE 5.0 database via a script? |
Fix: | MSDE 5.0 Database Creation Steps: 1. Copy the msde_create_script.sql script attached below to a local drive on the MSDE PC. 2. Edit the msde_create_script.sql script in notepad. Look for the following in the script:<<CHANGE TO A VALID PATH>>.This path is the location on where the Data and Log files will be created. 3. Open a Command Prompt on the PC where MSDE is installed. 4. Run the following command (make sure you edit for a valid SA password and the path to where the msde_create_script.sql script is stored): Note: Default 5.0 password for SA is prima. osql -U sa -P <<password for SA >> -S <<server name>>\primavera -i <<path to sql script>>\msde_create_script.sql This will create a MSDE database shell that can be used as the CollabLibrary. |