Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| install_rasberry [2024/02/08 19:04] – [Modify Nginx] system | install_rasberry [2024/02/08 19:07] (current) – [Disable strict mode] system | ||
|---|---|---|---|
| Line 83: | Line 83: | ||
| ===== Install MariaDB ===== | ===== Install MariaDB ===== | ||
| ==== Why MariaDB? ==== | ==== Why MariaDB? ==== | ||
| - | * We discovered | + | * We have found that the version of MySQL that comes with Debian 12 (bookworm) |
| - | * For this reason we install | + | * For this reason, we have installed |
| - | * MariaDB is an open-source relational database management system, commonly | + | * MariaDB is an open-source relational database management system |
| - | * It is intended | + | * It is intended |
| - | * Be sure to supply | + | * Be sure to provide |
| <code bash> | <code bash> | ||
| sudo apt-get -y install mariadb-server php8.2-mysql | sudo apt-get -y install mariadb-server php8.2-mysql | ||
| Line 95: | Line 95: | ||
| </ | </ | ||
| ==== Disable strict mode ==== | ==== Disable strict mode ==== | ||
| - | * With Debian 12 (bookworm), the bundled | + | * With Debian 12 (Bookworm), the bundled |
| - | * We will disable Strict SQL Mode in MariaDB by creating a new file / | + | * We will disable |
| <code bash> | <code bash> | ||
| sudo vi / | sudo vi / | ||
| Line 105: | Line 105: | ||
| sql_mode=IGNORE_SPACE, | sql_mode=IGNORE_SPACE, | ||
| </ | </ | ||
| - | * Save the file and restart the MySQL Server | + | * Save the file and restart the MySQL server |
| <code bash> | <code bash> | ||
| sudo systemctl restart mariadb | sudo systemctl restart mariadb | ||