Setting up and Connecting to a MSSQL database

Similar documents
UPDATING SOCRATES Version Build May 2018

Migrating to MIL-Comply SQL Server Edition

Installation of Microsoft SQL Server 2012 Setup MwPharm++ database

SQL Server Express Installation Guide

AppWizard Installation/Upgrade Guide (v.4.00)

How to resolve connection problems between server and workstation

Jonas Activity Management Technical Deployment Guide

Installing Blank SiriusSQL Database 4.0

Installation Guide for the Lucid CoPS application on the server. Installation Guide for the application on the server. December 2015 (GUIDE 2)

1. ECI Hosted Clients Installing Release 6.3 for the First Time (ECI Hosted) Upgrading to Release 6.3SP2 (ECI Hosted)

Millennium Expert/Enterprise Installation Guide Version Table of Contents

and Installation Guide for the application on the server March 2014 (GUIDE 2) LASS 8-11 and versions 6.05-N and later

Training Booking System User Guide Contents:

Connecting BioNumerics to MySQL

Sage Installation and Administration Guide. May 2018

Moving HRtrack to a new computer

ROCK-POND REPORTING 2.1

CONTROL Installation and Basic-configuration Guide Contents

Setting up a database for multi-user access

ROC Site Instructions for using Medtronic CODE STAT software

7. Run the TRAVERSE Data Migration Utility from TRAVERSE 10.2 into TRAVERSE 10.5.

ODBC Setup MS Access 2007 Overview Microsoft Access 2007 can be utilized to create ODBC connections. This page will show you the steps to create an

Client Loading Instructions For ProHelp EPM, Release 7.7

Installing Sage POS and SQL

SIS offline. Getting Started

APPENDIX B: INSTALLATION AND SETUP

How do I connect to Peachtree using ODBC/OLEDB?

Installing CMS, the Care Management System

Querying with Transact-SQL

UPGRADING SEER-HD TO SEER- HD

OnBase ver Thick Client Installation Instructions. Install Microsoft SQL Server 2012 Native Client

INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT

Configuration of Microsoft SQL Server Express

Standalone on a Single PC 3. Server/Network Installation to Access VETtrak from Multiple PCs Database... Server Installation

INSTALLATION GUIDE Spring 2017

Installing and Updating Templates

Developing SQL Databases

Installing and Setting Up SiteMaster 200 v4 What you need to know.

WhatsUp Gold 2016 Installation and Configuration Guide

EasyLobby Database Setup EasyLobby Family of Products Version 10.0

Connecting to a File-Based Data Source on a Network Drive

BIZPRAC 12 GUIDE RE-INSTALLATION

Guide to Installing DYNAMICS Security Pack

User Guide MapRoad 2.3 Install Guide Windows 7

SMEC ASSET MANAGEMENT SYSTEM PMS Version 5.5. System Administrator s Guide

Shelter Pro Installation Guide SQL Server Backend. Server Side Requirements Overview. Shelter Pro Installation Guide SQL Server Backend Page 1

How to Install CFAR CFAR is an ad-hoc report writer that allows you to report on data that resides in your LabTech and Connectwise databases.

Sage Installation and Administration Guide

Migrating Netpresenter Message Server

Installing the PC-Kits SQL Database

Installation Guide. 3CX CRM Plugin for ConnectWise. Single Tenant Version

NetWare Configuration with Client 32

DevSuite V9/ DevTest V5 Installation Guide

USER MANUAL. SuitePort - SuiteCRM Customer Portal for Joomla TABLE OF CONTENTS. Version: 1.1.0

Setting up the PC ready for BESA 11

Proficy Plant Applications 7.0 Quick Install Guide (And Best Practices)

Archivists Toolkit Internal Database

ACTIVANT DISTRIBUTION SUITE

Server Manager User and Permissions Setup

Database Setup in IRI Workbench 1

Summary of Server Installation

Setup and Reconfiguration Guide

FAQ - How do I get started with QDMS?

Migrating Label Formats from Legi for Windows 2.X to Legitronic Labeling Software 3.5.X

COINS Ti Call Management System Standard Installation Instructions for Citrix Users

QUICK START GUIDE. Quick Start Guide. This will assist you to setup and distribute content to a StratosMedia Player device in 4 easy steps.

DOCUMENT REVISION HISTORY

FRAMEWORK VERSION 3.0 NETWORK INSTALLATION INSTALLING MICROSOFT STEP BY STEP INTERACTIVE TRAINING SOFTWARE

Installing the Is2 Onsite Version - HVAC Office System

Data Store and Admin Tool User Guide


SOLUS3 Database Migration to SQL2012. : Nicolas Attwood Authorised by :

remember where it is, My Documents or to the Desktop are good locations. If you do not have an extract option, you can usually just COPY and PASTE the

CABC Installation Guide Maximizer CRM 12 Entrepreneur Edition

Simple sets of data can be expressed in a simple table, much like a

Framework Database Connectivity Guide. Microsoft SQL Server Databases

STATISTICA VERSION 10 STATISTICA MONITORING AND ALERTING SERVER (MAS) INSTALLATION INSTRUCTIONS

USER MANUAL. SuiteCRM Customer Portal for Joomla TABLE OF CONTENTS. Version: 2.0

29 March 2017 SECURITY SERVER INSTALLATION GUIDE

Click Studios. Passwordstate. Remote Session Launcher. Installation Instructions

Migrating vrealize Automation 6.2 to 7.2

Pan London Suspected Cancer Referral Forms for GPs A step-by-step guide to installing, using and ing the forms for GPs using EMIS Web

Installing SSP Admin Console

Network Rail Brand Hub USER GUIDE

SQL Server Deployment Installation Manual. Call a Hygiena representative for more information or support

User Guide. 3CX CRM Plug-in for Zendesk. Version

ODBC Installation Instructions RecTrac 10.3 / Progress 11.3

Index Introduction 3 Chapter 1. - Beginning the installation User License Application User Information 4

HR-Lite Database & Web Service Setup Guide

AD Sync Client Install Guide. Contents

Downloading and installing the Version 14 Update

Drpro. January 2017 RELEASE NOTES AND UPGRADE INSTALLATION INSTRUCTIONS PRINT THIS DOCUMENT FOR EASY REFERENCE WHILE INSTALLING

IBM Atlas Policy Distribution Administrators Guide: IER Connector. for IBM Atlas Suite v6

PHEWR Installation Guide (version 3)

WORKSHARE PROFESSIONAL 9 DOWNLOADING AND LICENSING GUIDE

Partner Integration Portal (PIP) Installation Guide

Installing Dolphin on Your PC

EvaluNet XT v1.2. Setup Guide

TOP Server Version 6 Security Settings

Setting up your Campaign In The Cloud ipad.

Transcription:

Setting up and Connecting to a MSSQL database Setting Up MSSQL... 1 SQL Server Instance... 1 Why do we need socdbconnect and socadminuser?... 1 On the Client... 1 Creating an ODBC Data Source... 1 Setting up server details... 2 Creating a new Socrates database... 2 Image Storage Path... 4 Advanced Connection Fields... 4 Connecting to your new database... 5 Installing Socrates on additional work stations... 6 SETTING UP MSSQL These instructions assume that a new instance of SQL Server 2008 or greater has been set up to run the Socrates database. We also assume staff is available with experience working with SQL Server. If this is not the case we recommend using PostgreSQL. Please note connecting to a SQL Server database is only supported on PC versions of Socrates. SQL Server Instance 1) Ensure that your instance is set up to allow Windows and SQL Authentication. 2) Create a new login role named "socadminuser" with a server role of sysadmin. 3) The password is user defined and should match the user s password policy. 4) Create a new database named "socdbconnect" owned by "socadminuser". Why do we need socdbconnect and socadminuser? We create the Socrates database using the client application. To run the Create Database commands the Socrates Client needs to be able to connect to an existing database with a login role that has the correct permissions to do so. The socdbconnect is essentially a placeholder database that we can connect to and perform other database actions in the instance. Socadminuser is a login role that we know has permission to perform these actions. ON THE CLIENT Creating an ODBC Data Source Create an ODBC connection via ODBC Data Source Administrator. This needs to use the SQL Server Native Client driver 10.0. This will be installed as part of the Socrates Client installation. The ODBC Data source will need to point at your SQL Server instance and should use the "socadminuser" login role to connect. The default database should be changed to "socdbconnect". SOCRATES User Manual 1

Setting up server details Socrates should be installed on one client machine first, the serial number added and registered. See installation instructions. Open your Socrates program, and BEFORE you log in, go to the drop-down menu Database - Manage Server Details. Enter the socadminuser password, leave the Database name and User name as the default. Creating a new Socrates database On the Database Menu select Create New Database 2 SOCRATES User Manual

The following window will appear. Server type Select MSSQL as the server type Import options Leave the Create New Database and Populate Adaptable Fields Defaults options checked. Host Name/File DSN This is the name of a user or system odbc data source installed on the machine/user account used to create the database. You can either enter the location manually or click on the check box for the File DSN. If you have selected the Use File DSN option then this is the location of the data source file that you wish to use, use the disc icon to browse for its location. User Name This is the user name you will use to connect to the newly created database. This user is created automatically when you click on Create Database. A unique user name is required for each database created - please do not re-use existing database user names that may reside within the database server software. Note: The name of the database that is created defaults to be the same as the User Name you enter here. If you want to name the database something else you will need to do so through the Advanced Tab in Connection Details. Password This is the password that will be created to connect to your new database. Some database systems will enforce policies regarding length and composition of this password. We recommend that your password is a minimum of 8 characters long and contains 3 out of the following properties: Lower Case Letter, Upper Case Letter, Number, Symbols. If the password you have entered does not match the Confirm Password field then you will be asked to re-enter your passwords until they match SOCRATES User Manual 3

Image Storage Path The image storage path is the physical location where images that are imported into Socrates will be stored. This needs to be a shared folder accessible by all client machines that will be importing documents and x-rays. You can click on the disc icon to the right to browse to the folder location. Even if you are not planning on storing x- rays/videos/electronic documents you still need to create a path to a folder before you can set up a new database. If you are storing images on a network drive please use an address that will function for any computer trying to connect. i.e. by using a fully qualified name \\Socrates\Images\databaseabc\ or if all computers have this mapped to a specific drive simply g:\databaseabc\ Once these steps are complete click on Create database You will see these messages as it creates the database and the tables. When the process has completed, this message will be displayed: Advanced Connection Fields Connection Type: This is a display option only - you cannot change this when creating a new database. If you wish to set a new database to be your Master connection you will need to do this through the Manage Database Connections option in the Database Menu. 4 SOCRATES User Manual

Database Name: This is the name for your newly created database. If left empty this will default to be the same as the User Name provided in the Basic tab. Use lower case and choose a name that is name meaningful - i.e. drjamesbones or hipscopestudy. Port: This allows you to specify which port your database server is running on. If you do not enter a value then this will default to blank for Microsoft SQL Server. Connecting to your new database Once you have created your database you need to connect to it. Go to Manage database connections, You will see the demodata.df1 database and your new SQL database displayed. Click on your database and test the selected connection. If you are successfully connected and this is your only database you can set this as the master connection and then select open selected connection, from then on Socrates will always log into this database unless you choose to open another one. If there are going to be multiple databases used you would use the Open other database option to go between the different databases. SOCRATES User Manual 5

You are now ready to log into your new Socrates database. Use Admin and Admin to log in. That s it! You can now start using your new Socrates database. You should then go to the user management and add new user logins and passwords for all users and suspend the Admin user. Instructions for how to do this are in the User Management and Password chapter. Installing Socrates on additional work stations Once there is a copy of Socrates fully installed and connected to the SQL database you can copy some of the files from that user into an installation folder. It will automatically register and connect other users to the database on any subsequent workstations. Note that if you are adding additional workstations you may need extra workstation licenses. Contact us for details. CHECK VERSION NUMBER If you are reinstalling Socrates sometime after the initial installation it is likely that you will have updated since the initial install and are using a more recent version. You can check the home page of the web site for the most current release www.socratesortho.com Contact us for the most recent version of the full install.exe file. Note that if you have Socrates on more than one computer the others may need updating to bring them to the latest version. To check which version you were using go to the log in screen of Socrates. 6 SOCRATES User Manual

HOW TO CREATE THE INSTALL FOLDER Unzip the.exe file and save the unzipped Socrates installation.exe file in a new folder - it doesn t matter what you call the folder. Create a new folder inside this folder called defaults all lower case. This is what you should now see in the main folder. Go to an existing installation of Socrates in Program Files of a user that is connected to Socrates you need to be logged in as them. Locate the Studio folder in Program Files/Socrates/Studio and copy the file serial.txt into the defaults folder you created. Locate the Users folder /AppData/Roaming/Socrates and copy SC Prefs, SC Connections and CodeDati.txt into the defaults folder you created. SOCRATES User Manual 7

The main folder contents should be as below. Do not leave the zipped install folder in here, or unzip and run it from this folder or it won t copy the settings. Unzip it outside this folder and copy the.exe file into this. DEFAULT FOLDER CONTENTS DSN FILE Once you have these files in the correct folders double click the.exe file to install Socrates. It will install as usual but you won t need to enter any serial numbers or register it, and it will find the connection to the database. Once it is installed, start Socrates and log in as usual. Copy the DSN file from wherever it is located in the user profile you are copying the files from, to the same location on the computer of the new user. The location of the DSN file will be displayed on the log in screen of Socrates. MANUALLY COPYING THESE FILES. 8 SOCRATES User Manual

If you have already installed Socrates without adding in these files to the install folder you can manually copy these files from another connected user into the same location on the new computer. This will remove the need to add in the serial and registration numbers, as well the need to add in the admin passwords, and IP address of the computer where the database is hosted. If you have installed it without using the default files reinstalling it again with the files in the defaults folder WONT enable these connections. Once it has been installed without these default files you need to copy and paste them in manually. REINSTALLING WITHOUT USING DEFAULTS If you don t install additional machines using this method - i.e you have unzipped and installed Socrates using only the.exe Install file and you haven t copied the files across manually you will need to do the following. Enter the serial number and registration code when prompted after starting Socrates. Connect to the database manually. This involves first entering the socadmin user password that was created when the SQL database was set up, you or your IT group should have this on file. To do this go to the File Menu at the top of the screen, select Database, then Manage Server details and replace the existing password for whichever SQL database you have with yours. This needs to be done on each client machine. If you don t do this that machine will not be able to connect to the database. You will then need to go to Manage Database Connections and add the database details server type, IP address or host name where the database is stored, and the user name and password of the database. Note that this is not the same as the ones you use to log into Socrates, these were created when the database was first set up. SOCRATES User Manual 9