Microsoft SQL Express 2005 provides enterprise class database performance for free. However it does have some limitations when compared to the full version of SQL Server. But these limitations are not likely to adversely affect most PaperCut NG users. These limitations include:
4GB limit on database sizes
Limited to only use 1 CPU
Limited to only use 1GB of RAM
This section described how to configure Microsoft SQL Express edition for use with PaperCut NG. It is assumed that SQL Server Express is already installed with the default configuration.
Once this configuration is complete, the database can be used with PaperCut NG by following the instructions in the section called “Upsizing to an External RDBMS”.
PaperCut NG uses TCP/IP to connect to the SQL Server database, but SQL Server Express does not enable TCP support by default. To enable TCP/IP:
On the machine with SQL Express installed, open the SQL Server Configuration Manager.
Expand the SQL Server 2005 Network Configuration node on the left.
Select the Protocols for SQLEXPRESS node on the left.
Right-click the TCP/IP item on the right and select Properties.
On the General tab, change Enabled to Yes.
On the IP Addresses tab, under the IPAll node clear the TCP Dynamic Ports field. Also enter the port to listen on in the TCP Port field. For example, 1450. Remember this port, because it needs to be used in the PaperCut NG connection string.
On the
button to save the changes.Restart the Microsoft SQL Server Express service using either the standard service control panel or the SQL Express tools.
PaperCut NG requires SQL Server authentication to be enabled on the instance of SQL Express. To do this:
On the machine with SQL Express installed, open the SQL Server Management Studio Express tool.
Right-click the instance of SQL Express to configure, and select Properties.
Select the Security section on the left.
Change the Server Authentication to SQL Server and Windows Authentication mode.
Restart the Microsoft SQL Server Express service using either the standard service control panel or the SQL Express tools.
PaperCut NG requires a user to connect to the database. To create this user:
On the machine with SQL Express installed, open the SQL Server Management Studio Express tool.
Right-click the Security->Logins node, and select New Login ....
Enter the username (e.g. papercut).
Change the Server Authentication to SQL Server and Windows Authentication mode.
Enter the user's password.
Disable password expiration.
On the
button to create the user.
After creating the PaperCut NG database assign this user db_owner
permissions on the database, so that it can create the required database tables.
To initialize the database, follow the instruction in the section called “Upsizing to an External RDBMS”.
© Copyright 1999-2006. PaperCut Software Pty Ltd. All rights reserved.