Index

  1. Home
  2. Docs
  3. Index
  4. Remote Databases
  5. Connect to SQL Server

Connect to SQL Server

WP Data Access supports connections to Microsoft SQL Server over ODBC and JDBC. Please follow the link below to learn how to setup a connection to SQL Server over ODBC or JDBC first.

> ODBC | JDBC setup and installation (read this first)

Tutorial

A remote MariaDB connection was used for this tutorial to connect to Microsoft SQL Server. The WordPress server used for this tutorial run on MySQL.

Step by step

  • Check prerequisites
  • Check architecture
  • Install CONNECT storage engine (if not installed)
  • Install ODBC or JDBC drivers
  • Prepare SQL Server connection (must use SQL Server Authentication)
  • Check SQL Server table structure (all data type supported? primary key needed?)
  • Use SQL Server in Data Publisher
  • Use SQL Server in Data Projects (supports data management on back-end and front-end)

Resources

https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server
https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server

Was this article helpful to you? Yes No

2 Replies to “Connect to SQL Server”

  1. Hey Peter,

    Awesome plugin. Will the remote connection functionality work with Microsoft Azure SQL Database? We have the option of choosing between Microsoft Azure SQL Database and Microsoft Azure SQL Server. We prefer to use the Azure SQL Database because less administrative overhead and cost of ownership. Our WordPress database is Percona Server (SSO Sigon) and I don’t believe we have a remote MariaDB database connection setup. Is the remote connection functionality still a viable option for us to connect to Microsoft Azure SQL Database/Server?

    Best Regards,
    Arslan

    1. Hi Arslan,

      That is an interesting question! 🙂 I have never tested with Azure, but ODBC and JDBC are supported by MariaDB and Azure, so it should be possible. Is this something we can pickup together?

      Best regards,
      Peter

Leave a Reply

Your email address will not be published. Required fields are marked *

nineteen + five =