Hi All,
I thought that I would quickly outline the different databases SambaPOS uses to help new users in their setup and testing.
What are the databases used (You will see the currently used database at the bottom left of the login screen of SambaPOS)
1. TX - This is a simple text file for evaluating SambaPOS and is used if Compact SQL is not selected during installation of SambaPOS. The TX database should only ever be used to see what SambaPOS is all about, and to get a feel for what can be done. It has limited functionality and IS NOT for production systems.
2. CE - This is Compact SQL that can be installed when you install SambaPOS. The CE database is great for standalone systems where you only need one POS terminal. It is fast, stable and easy to setup during installation of SambaPOS.
3. SQ - SQL Express which you need to install separately and configure SambaPOS to use. SQL Express is used for networked systems where you have multiple workstations connected to a central SQL Server. This is the common setup of most venues, and gives you good performance and very high stability and data integrity.
FAQ
Q. Can I migrate from one database to another?
A. Yes, but only for CE & SQ. SQ to CE is easy - just use the SambaPOS Training Mode to create a CE .sdf file. CE to SQ is a little more involved, but is briefly documented here
http://forum2.sambapos.org/index.php/topic,271.0.htmlQ. How do I install SQL Express?
A.
http://doc.sambapos.org/doku.php/tr/dbase/sql_server_2008_express_edition_nasil_kurulur - outlines the installation process for SQL Express 2008 (but please take note of the next section below), which can be downloaded from here
SQL Express 2008 R2 32bit or
SQL Express 2008 R2 64bit and both will install SQL Server Management Studio.
Q. Isn't SQL Express hard to install?
A. Installation - no, but many factors can cause issues with SQL Express connectivity, namely Firewalls, but once you have SQL Express setup, it is easy to use and connect to.
Things to remember when installing SQL Express
1. During installation, create a new instance called 'SAMBAPOS'.
2. Make sure that you set SQL Browser to Automatic startup.
3. Make sure you select Mixed Mode Authentication, and set a password for the 'sa' account.
4. Goto SQL Server Configuration Manager, and make sure SQL Browser is running, and that the Client Protocols are ALL enabled.
5. Set the Data Connection String (Manage->Settings->Local Settings) in SambaPOS - On all computers connecting to the SQL Express database, use this data connection string as a template - data source=server\SAMBAPOS; User Id=sa; Password=sambapos
Change 'server' to the name of the computer running SQL Express, and change 'sambapos' to the sa password you set during SQL Express setup.
If you still have connection issues, make sure ALL firewalls are turned OFF.