🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Secure DB Connection icon
Peut-être abandonné Tested up to 4.9.36 #3 in db

Secure DB Connection

Depending on the MySQL server setup the SSL certs used may not be in the trusted store, if that’s the case mysqli_ssl_set() needs to be called to set custom keys and certs before connect. This Plugin adds a custom DB…

Installations actives100+100+ niveaux
Téléchargements · 30D331▲ +9.2% vs prev. 30d
Évaluation5/53 avis
Score de santé32/100En danger
Téléchargements de tous les temps26.5KSince Aug 2016
Support résolu—Aucun fil de discussion récent
A besoin deWP 4.9PHP 5.2.4+
Téléchargements · 7j76▼ -18,3% semaine après semaine
Notre verdict

Envisager une alternative

Secure DB Connection shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 8 years ago, and scores 32/100 on our health check.

  • Petite base d'utilisateurs (plus de 100 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 8 ans
  • Uniquement testé jusqu'à WordPress 4,9 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4914Aug 31Oct 14Nov 28
Hier8
Moyenne quotidienne (1 ans)6
Jour de pointe1923 Octobre 2026
12 Derniers mois2.2K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Secure DB Connection stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
db >100 1,868 Best db plugins →
encrypted >100 2,471 Best encrypted plugins →
mysql >100 2,506 Meilleurs plugins MySQL →
secure >100 8,224 Best secure plugins →
SSL >100 2,188 Meilleurs plugins SSL →

Adoption de version

Part de sites actifs par version.

  • 1.1100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 3 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Secure DB Connection

From the official readme · v1.1.5

Description

Depending on the MySQL server setup the SSL certs used may not be in the trusted store, if that’s the case mysqli_ssl_set() needs to be called to set custom keys and certs before connect. This Plugin adds a custom DB class that allows these settings to be configured via custom constants.

This plugin will also add a custom item on the “At a Glance” section of the Dashboard to show if the $wpdb connection is secure or not.

Also find me on GitHub.

Installation

For detailed installation instructions, please read the standard installation procedure for WordPress plugins.

  1. Install and activate plugin, if the filesystem is writable the Secure DB Connection dropin will be installed for you automatically. If not proceed to step 2
  2. Symlink or copy the db.php file from the /wp-content/plugins/secure-db-connection/lib/ directory to the /wp-content/ directory.
  3. Set the relevant defines in your wp-config.php file.

Configuration Parameters

To adjust the configuration, define any of the following applicable constants in your wp-config.php file.

  • MYSQL_SSL_KEY [default: not set]

    The path name to the key file. (RSA Key)

  • MYSQL_SSL_CERT [default: not set]

    The path name to the certificate file.

  • MYSQL_SSL_CA [default: not set]

    The path name to the certificate authority file in PEM format.

  • MYSQL_SSL_CA_PATH [default: not set]

    The pathname to a directory that contains trusted SSL CA certificates in PEM format.

  • MYSQL_SSL_CIPHER [default: not set]

    A list of allowable ciphers to use for SSL encryption. You can leave this blank if you want to just use the strongest available.

Turning on SSL

First please note, only the mysqli (MySQL Improved) extension is supported this is the default extension used by WordPress however if you do not have the extension installed WordPress will fallback on the much older mysql extension which does not support secure connections.

Depending on your database configuration you may not need to set all the available options. For example when connecting to RDS Amazon helpfully provides a certificate bundle so once that’s downloaded to the server all that’s need is to set the CA option:

define(
  'MYSQL_SSL_CA',
  '/path/to/rds-combined-ca-bundle.pem'
);

Once SSL keys / certs have been configured you via the defines above define an WP core constant to pass a use SSL flag to the mysqli client also in your wp-config.php file.

define(
  'MYSQL_CLIENT_FLAGS',
  MYSQLI_CLIENT_SSL
);

If you are using the MySQL Native Driver and MySQL 5.6 or later mysqli_real_connect() will verify the server SSL certificate before connecting. If the SSL cert installed on the MySQL server your are connecting to is not valid PHP will refuse to connect. A flag was added to disable server certificate validation. If your server has an invalid certificate turn on SSL and turn off validation like so:

define(
  'MYSQL_CLIENT_FLAGS',
   MYSQLI_CLIENT_SSL |
   MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT
);

Example Config

Aside from setting the normal MySQL connection parameters the minimum configs to get SSL connections to the database will look something like this in wp-config.php:

define( 'MYSQL_SSL_CA', '/path/to/ca-bundle.pem' );
define( 'MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL );

Journal de modifications

1.1.6

  • Cleanup GitHub repo, remove screenshot image
  • Minor code cleanup

1.1.5

  • PHP backwards compatibility with versions prior to 5.5
  • Syncs DB connect code with WP Core 4.9 (Fixes https://core.trac.wordpress.org/ticket/41722)

1.1.4

  • Update version numbers in file headers.

1.1.3

  • Better PHP backwards compatibility.

1.1.2

  • Only set MySQL SSL opts if secure connections are requested.

1.1.1

  • Retag release to fix version inconsistency

Journal des modifications complet sur WordPress.org →

Captures d'écran

An at a glance item is added showing the status of the MySQL connection when this plugin is activated. If the connection is encrypted the SSL version and cipher used will also be shown.
An at a glance item is added showing the status of the MySQL connection when this plugin…

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Secure DB Connection alternatives

All db plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Base de données pour le formulaire de contact 7 Base de données pour le formulaire de contact 7 Enregistrez automatiquement toutes les données envoyées via le formulaire de contact 7 dans votre base de données par équipe ninja 7K+ ★★★★★★★★★★ 4.2 (14) il y a 1 mois 77
2 Remote Database Backup Remote Database Backup Vous permet de créer et de télécharger des vidages SQL de votre base de données WordPress pour la sauvegarde. par binnyva 100+ ★★★★★★★★★★ Aucun avis il y a 17 ans 25
4 DB Backup DB Backup Backup your database in easy and fast way. by syedamirhussain91 70+ ★★★★★★★★★★ 4.3 (3) il y a 9 ans 30
5 Wp Convert Excel Data To Tabel And DB Wp Convert Excel Data To Tabel And DB An Plugin to convert Excel files to WordPress database And manage data in your WordPress… by behzadrohizadeh 60+ ★★★★★★★★★★ Aucun avis Il y a 6 ans 25
6 Ancienne base de données de suivi pour CFormsII Ancienne base de données de suivi pour CFormsII À partir de la version 15, CFormsII n'a pas de prise en charge intégrée de la base de données de suivi… par Bgermann 40+ ★★★★★★★★★★ Aucun avis Il y a 3 ans 24
7 Mon WPDB Mon WPDB WordPressで管理画面からD B. par shota6111 30+ ★★★★★★★★★★ 5 (2) Il y a 4 ans 31
8 mk Simple Backups mk Simple Backups Allows you to create simple backups on a dedicated page nested in the "Tools" Menu. by michitzky 20+ ★★★★★★★★★★ 5 (1) Il y a 6 ans 31
9 Record For Contact Form 7 Record For Contact Form 7 Enregistrez automatiquement toutes les données envoyées via le formulaire de contact 7 dans votre base de données by ytsdayou 20+ ★★★★★★★★★★ Aucun avis Il y a 3 ans 24
10 WP DB Cleaner WP DB Cleaner A wordpress cleaner plugin to help find and remove orphan, duplicate and missing data. by Utkarsh 20+ ★★★★★★★★★★ Aucun avis il y a 11 ans 24
11 WP DB Backup WP DB Backup WP DB Backup help you to take instant backup. Also you can schedule daily, weekly or… by Krinay Dhanani 10+ ★★★★★★★★★★ Aucun avis Il ya 10 ans 23

FAQ

Secure DB Connection: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Secure DB Connection free?

Yes. Secure DB Connection is free to download and use from the official WordPress.org plugin directory.

Is Secure DB Connection safe to use in 2026?

Secure DB Connection shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 8 years ago, and scores 32/100 on our health check.

How many websites use Secure DB Connection?

Secure DB Connection is active on 100+ WordPress websites and has been downloaded 26,479 times since it launched in August 2016. It was downloaded 331 times in the last 30 days.

Does Secure DB Connection work with WordPress 7.1?

Secure DB Connection is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Secure DB Connection need?

Secure DB Connection requires PHP 5.2.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Secure DB Connection last updated?

The latest version, 1.1.5, was released on July 8, 2018 (8 years ago).

Who makes Secure DB Connection?

Secure DB Connection is developed and maintained by hypertextranch.

What are the best alternatives to Secure DB Connection?

The most popular alternatives to Secure DB Connection are Database for Contact Form 7 (7K+ installs), Remote Database Backup (100+ installs) and DB Backup (70+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir