the affordable java shopping cart   
  HOME     FEATURES     PRICING     DEMO     DOCS     ABOUT US     CONTACT US    

Create an Empty Database

Create an empty database for SoftSlate Commerce to use in MySQL or Microsoft SQL Server 2000.

[Note]Note

It is possible to install SoftSlate Commerce in an existing database. All of the database tables used by SoftSlate Commerce begin with the prefix npc. If your existing database has no tables that would conflict, you can use it. This may be advantageous in situations where you need to integrate SoftSlate Commerce with other applications.

Example 1.1. Creating an Empty Database in MySQL

  1. To, create an empty database in MySQL, log into the MySQL monitor:

    
    [root@server root]# mysql -u root -p
    Enter password: 
    							

  2. Run the create database command. (You may name the database whatever you wish. You will be asked for the name by the Installer tool.)

    
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 978 to server version: 3.23.58
    
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    
    mysql>create database softslate;
    							

Example 1.2. Creating an Empty Database in Microsoft SQL Server

You can use the following script to create a database in Microsoft's Query Analyzer application (or a modified form of this script):


USE master
GO
create database softslate
on 
( 
	name='DATA_softslate',
	filename='C:\Program Files\Microsoft SQL Server\MSSQL\Data\DATA_softslate.mdf',
	size=2,
	filegrowth=10% 
)
log on
(
	name='XLOG_softslate',
	filename='C:\Program Files\Microsoft SQL Server\MSSQL\Data\XLOG_softslate.ldf',
	size=1,
	filegrowth=10%
)
GO
					

[Important]Important

It's often wise to create a separate database user for each application handled by your database. Please refer to the documentation for MySQL or Microsoft SQL Server 2000 for instructions on how to do this.


Home  |   Features  |   Pricing  |   Demo Store  |   Documentation  |   About Us  |   Contact Us

Copyright © 2005 SoftSlate, Inc. All Rights Reserved.