Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Zebralog/drupal-azure-db-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drupal & Azure: Auto connect to linked database

When running drupal as a web app in the azure cloud, this snippet spares you the manual database configuration.

Installation

In your drupal root, copy this directory into sites/default. Include drupal-azure-db-connect.php in your settings.php.

// in your settings.php
// ...
include_once('drupal-azure-db-connect.php');

Use SSL for requests to cleardb

We recommend using SSL encryption when using ClearDB.

Get your certificates & keys from https://www.cleardb.com/dashboard and copy them into sites/default/cleardb-certs. The resulting directory tree should look like this:

sites/default/cleardb-certs
- client-cert.pem.php
- client-key.pem.php
- cleardb-ca.pem.php

Note that for security reasons we renamed all certificates to *.php. Once your (valid!) certificates are available, SSL encryption will be used automatically.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages