Database Configuration

 

By default FacilitiesDesk supports My SQL database to switch over to SQL database you need to configure SQL server to establish connection and start the server.

 

Configuring MS SQL Server

  1. Execute the changeDBServer.bat [ changeDBServer.sh  for Linux] file presented under the FacilitiesDesk Home. This opens the Database Setup Wizard page. Fill in the details of the form to configure sql server.

Server Type: Select the server type from the combo box. Say MS SQL.

Host Name: Enter the IP Address/host name in which the database is available. The default host name is 'localhost'.

Port: Specify the port in the given text field. The default value is 1433.

Database : By default the database name will be facilitiesdesk in non-editable format.

User Name: Specify the user name to login to the server in the given text field.

Password: Specify the password for the username in the given text field.      

 
  1. To check the availability of connection press the Test button. A pop up window pops up showing 'Connection Established' message.

  2. Click OK to proceed.

  3. Click Save button to save the SQL server settings.

 

Configuring MY SQL Server

  1. If you are using a remote MySql server and do not want to use the inbuilt server then,

  2. Select Server Type as MySql server. This opens the database wizard page.

  3. Specify the Host Name, Port, User Name & Password.

  4. Click Test button and check the availability of the connection.

  5. Once the Connection is Established, Save the details and start the server.  

 

Non UI users
 

Run the changeDBServer.bat under command prompt by passing parameter like given below

>changeDBServer.bat --console


It will get the DB Server necessary information from the console.

 

Troubleshooting Tips

 

MY SQL Connection Resolution

Verify the following,

  MS SQL Connection Resolution

If a connection is refused and an exception is thrown by SQL Server as 'unable to connect the server' then there could be following reasons why this could happen such as,

 

FacilitiesDesk - Integrated Facilities Management Software

Copyright © 2008, ZOHO Corp. All Rights Reserved.
ManageEngine