- Drupal 8 Module Development
- Daniel Sipos
- 177字
- 2021-07-02 12:22:32
Databases and MySQL
In the past, Drupal has supported two databases—MySQL and PostgreSQL. Drupal 7 and 8 have moved beyond this. Drupal now uses the powerful PHP Data Objects (PDO) library that is standard in PHP 7. This library is an abstraction layer that allows developers to support numerous databases, including MySQL, PostgreSQL, SQLite, and MariaDB.
The minimum database versions for Drupal 8.7 are as follows:
- MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with PDO and an InnoDB-compatible primary storage engine
- PostgreSQL 9.1.2 or higher with PDO SQLite 3.7.11 or higher
- SQLite 3.7.11 or higher
Additionally, Drupal provides a powerful database API along with SQL coding conventions that make it easy to interact with your database—which, combined, allow you to write safe and portable SQL. However, more and more abstractions have been made at different levels, removing the need for SQL writing almost completely. However, we will still see some examples just so your toolbox does not miss anything, as well as cover all the tools at your disposal for querying your database.
- Learn TypeScript 3 by Building Web Applications
- C++程序設計(第3版)
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- 實戰Java程序設計
- PostgreSQL 11從入門到精通(視頻教學版)
- Oracle Database 12c Security Cookbook
- Mastering AndEngine Game Development
- PHP+MySQL網站開發項目式教程
- Responsive Web Design by Example
- 高級語言程序設計(C語言版):基于計算思維能力培養
- ArcGIS for Desktop Cookbook
- Android應用開發實戰
- Java設計模式深入研究
- Spring Web Services 2 Cookbook
- Android開發權威指南(第二版)