Connecting to SQL Databases


Defining connection strings, and instructions for connecting to specific databases.

AlphaDAO Overview

An introduction to the goals and architecture behind AlphaDAO.

Connecting Securely with SSH

Secure Shell (SSH) Connections

Connecting Securely with TLS and SSL

Secure Database Connections

Connecting to a SQL Database

How to define a connection to a SQL database, procedural steps included.

Connecting to MariaDB

Alpha Anywhere AlphaDAO includes a MariaDB native driver built on the MariaDB C library. Alpha Anywhere does not require any additional software or separate client side configuration to connect to a MariaDB database.

Connecting to Microsoft Excel

Tips on working with Microsoft Excel using AlphaDAO connections

Connecting to MongoDB

Alpha Anywhere can connect directly to MongoDB. Creating a MongoDB connection string makes allows you to build Grid an UX Components against the NoSQL data source.

Connecting to MySQL

Alpha Anywhere AlphaDAO includes a MySQL native driver built on the MySQL C library. Alpha Anywhere does not require any additional software or separate client side configuration to connect to a MySQL database.

Connecting to Oracle

A guide to using auto-increment in Oracle.

Connecting to PostgreSQL

Alpha Anywhere AlphaDAO includes a PostgreSQL extension driver built on a version of the PostgreSQL ODBC driver. In order to configure a PostgreSQL connection it is necessary to first do the following.

Connecting to SQL Anywhere

Alpha Anywhere AlphaDAO includes a SQL Anywhere extension driver built on the SQL Anywhere ODBC driver. SQL Anywhere connections in Alpha Anywhere do not require a DNS to be configured, but the SQL Anywhere ODBC driver must be installed.

Connecting to SQL Server

Alpha Anywhere AlphaDAO provides an extension driver for SQL Server to simplify building connections using any of the SQL Server ODBC drivers provided by Microsoft. You must first install the appropriate driver for the version of your SQL Server database. In the connection string dialog, select the version of the database you are connecting to. Alpha Anywhere will select the installed driver that is the best fit for the target version.

Connecting to SQL Server Azure

You can build applications in Alpha Anywhere that use Microsoft SQL Azure as your database. This release note describes how to define your AlphaDAO connection string to connect to your Azure database. You must previously have set up an Azure account.

Connecting to SQLite

Alpha Anywhere AlphaDAO includes a SQLite native driver built from the open source SQLite code base. SQLite connections in Alpha Anywhere do not require any configuration. Alpha Anywhere includes all software necessary.

AlphaDAO - Connection Strings - PostgreSQL - Specifying the Default Schema

When working with a PostgreSQL database that contains multiple schemas, you can specify the default schema in the connection string. Unfortunately, at this point, the connection string dialog does not let you specify the default schema, but you can easily edit the generated schema to add the necessary directive to set the schema.

Create a SQL Database

Covers the simple step of building a new SQL Connection String for AlphaDAO

Create SQL Connection String Dialog

The SQL connection string dialog (i.e. AlphaDAO Connections dialog) helps you define the connection string that you need to open a connection with an external database. There are several ways to access the SQL connection string dialog if you are not entirely familiar with it.

Creating a Multi-tenant Connection

A multi-tenant connection string can be used to build Software-as-a-Service (SaaS) applications in Alpha Anywhere with ease.

Creating an Object

How to create a connection object and connect to your back-end database.

Creating Custom Connection Strings

Custom drivers can be created using Xbasic, enabling you to create a connection to anything.

Creating Dynamic Connection Strings

A dynamic connection string is a connection string that is resolved at the time the database connection is opened, rather than at the time the connection string is defined. This is useful in SaaS applications where client data is stored in different systems of record located on different servers.

Dynamic SQL Database Credentials

By default all users who use an AlphaDAO connection to the SQL database using the same credentials. These credentials are defined in the AlphaDAO Named Connections defined in the application publish profile.

SQL Server connection string dialog help

When you create a connection string for SQL Server, it's easy to forget how to format the instance names. As a result, there is a dialog help within the Create SQL Connection String Dialog specifically for the SQLServer connection type.