- Drupal 8 Module Development
- Daniel Sipos
- 172字
- 2021-07-02 15:45:08
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 5/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 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
Additionally, Drupal provides a powerful database API along with some SQL coding conventions that make it easy to interact with your database--both 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.
- 零基礎學C++程序設計
- 深入淺出WPF
- Arduino開發實戰指南:LabVIEW卷
- Big Data Analytics
- 零基礎Java學習筆記
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- Zabbix Performance Tuning
- Visual Basic程序設計(第三版)
- C語言程序設計與應用實驗指導書(第2版)
- SQL Server實例教程(2008版)
- Design Patterns and Best Practices in Java
- ASP.NET jQuery Cookbook(Second Edition)
- C語言程序設計
- 區塊鏈技術指南
- Android 3D游戲開發技術寶典:OpenGL ES 2.0