Merge pull request #545 from Jcodeerd/master

update mysql command to mariadb
This commit is contained in:
Rowan 2024-09-29 19:29:55 +01:00 committed by GitHub
commit 60af459361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 23 additions and 1 deletions

View File

@ -127,7 +127,13 @@ reCAPTCHA can easily be disabled using the admin panel. In the Settings, select
If you cannot access your panel, you can modify the database directly using the following commands.
```sql
# If using MariaDB (v11.0.0+)
mariadb -u root -p
# If using MySQL
mysql -u root -p
```
```sql
UPDATE panel.settings SET value = 'false' WHERE `key` = 'settings::recaptcha:enabled';
```
@ -138,7 +144,13 @@ If possible you should use the panel to update your 2FA settings. If you can't a
### Disable 2FA requirement
```sql
# If using MariaDB (v11.0.0+)
mariadb -u root -p
# If using MySQL
mysql -u root -p
```
```sql
UPDATE panel.settings SET value = 0 WHERE `key` = 'settings::pterodactyl:auth:2fa_required';
```

View File

@ -111,7 +111,13 @@ continuing any further. See below to create a user and database for your Pteroda
please have a look at [Setting up MySQL](/tutorials/mysql_setup.html).
```sql
# If using MariaDB (v11.0.0+) (This is the default when installing Pterodactyl by following the documentation.)
mariadb -u root -p
# If using MySQL
mysql -u root -p
```
```sql
# Remember to change 'yourPassword' below to be a unique password
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'yourPassword';

View File

@ -12,7 +12,11 @@ The first step in this process is to login to the MySQL command line where we wi
things setup. To do so, simply run the command below and provide the Root MySQL account's password that you setup when
installing MySQL. If you do not remember doing this, chances are you can just hit enter as no password is set.
``` bash
```sql
# If using MariaDB (v11.0.0+)
mariadb -u root -p
# If using MySQL
mysql -u root -p
```