mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Database documentation corrections
This commit is contained in:
parent
05fe34fec2
commit
a7ae38589b
2 changed files with 6 additions and 6 deletions
|
@ -15,14 +15,14 @@ If for whatever reason an SQLite database does not suit your configuration, Post
|
|||
|
||||
# Set-up
|
||||
|
||||
In order to use a PostgreSQL database for The Arsse, the database must already exist. The procedure for doing for creating a database can differ between systems, but a typical Linux procedure is as follows:
|
||||
In order to use a PostgreSQL database for The Arsse, the database must already exist. The procedure for creating a database can differ between systems, but a typical Linux procedure is as follows:
|
||||
|
||||
```sh
|
||||
sudo -u postgres psql -c "CREATE USER arsseuser WITH PASSWORD 'super secret password'"
|
||||
sudo -u postgres psql -c "CREATE DATABASE arssedb WITH OWNER arsseuser"
|
||||
```
|
||||
|
||||
Tha Arsse must then be configured to use the create database. A suitable [configuration file](/en/Configuring_The_Arsse) might look like this:
|
||||
Tha Arsse must then be configured to use the created database. A suitable [configuration file](/en/Configuring_The_Arsse) might look like this:
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
<dd><a href="/en/Configuring_The_Arsse#page_Database-settings">General</a>, <a href="/en/Configuring_The_Arsse#page_Database-settings-specific-to-MySQL">Specific</a></dd>
|
||||
</dl>
|
||||
|
||||
While MySQL can be used as a database for The Arsse, this is **not recommended** due to MySQL's technical limitations. It is fully functional, but may fail with some newsfeeds where other database systems do not. Additionally, it is important before upgrading from one version of The Arsse to the next to back up your database: a failure in a database upgrade can corrupt your database much more easily than when using alternative database systems.
|
||||
While MySQL can be used as a database for The Arsse, this is **not recommended** due to MySQL's technical limitations. It is fully functional, but may fail with some newsfeeds where other database systems do not. Additionally, it is particularly important before upgrading from one version of The Arsse to the next to back up your database: a failure in a database upgrade can corrupt your database much more easily than when using other database systems.
|
||||
|
||||
Please note that MariaDB cannot be used in place of MySQL as it lacks features of MySQL 8 which The Arsse requires.
|
||||
Please note that as of this writing MariaDB cannot be used in place of MySQL as it lacks features of MySQL 8 which The Arsse requires.
|
||||
|
||||
# Set-up
|
||||
|
||||
In order to use a MySQL database for The Arsse, the database must already exist. The procedure for doing for creating a database can differ between systems, but a typical Linux procedure is as follows:
|
||||
In order to use a MySQL database for The Arsse, the database must already exist. The procedure for creating a database can differ between systems, but a typical Linux procedure is as follows:
|
||||
|
||||
```sh
|
||||
sudo mysql -e "CREATE USER 'arsseuser'@'localhost' IDENTIFIED BY 'super secret password'"
|
||||
|
@ -25,7 +25,7 @@ sudo mysql -e "CREATE DATABASE arssedb"
|
|||
sudo mysql -e "GRANT ALL ON arssedb.* TO 'arsseuser'@'localhost'"
|
||||
```
|
||||
|
||||
Tha Arsse must then be configured to use the create database. A suitable [configuration file](/en/Configuring_The_Arsse) might look like this:
|
||||
Tha Arsse must then be configured to use the created database. A suitable [configuration file](/en/Configuring_The_Arsse) might look like this:
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue