mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-12 09:21:59 -06:00
Merge pull request #545 from Jcodeerd/master
update mysql command to mariadb
This commit is contained in:
commit
60af459361
@ -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.
|
If you cannot access your panel, you can modify the database directly using the following commands.
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
|
# If using MariaDB (v11.0.0+)
|
||||||
|
mariadb -u root -p
|
||||||
|
|
||||||
|
# If using MySQL
|
||||||
mysql -u root -p
|
mysql -u root -p
|
||||||
|
```
|
||||||
|
```sql
|
||||||
UPDATE panel.settings SET value = 'false' WHERE `key` = 'settings::recaptcha:enabled';
|
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
|
### Disable 2FA requirement
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
|
# If using MariaDB (v11.0.0+)
|
||||||
|
mariadb -u root -p
|
||||||
|
|
||||||
|
# If using MySQL
|
||||||
mysql -u root -p
|
mysql -u root -p
|
||||||
|
```
|
||||||
|
```sql
|
||||||
UPDATE panel.settings SET value = 0 WHERE `key` = 'settings::pterodactyl:auth:2fa_required';
|
UPDATE panel.settings SET value = 0 WHERE `key` = 'settings::pterodactyl:auth:2fa_required';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -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).
|
please have a look at [Setting up MySQL](/tutorials/mysql_setup.html).
|
||||||
|
|
||||||
```sql
|
```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
|
mysql -u root -p
|
||||||
|
```
|
||||||
|
```sql
|
||||||
|
|
||||||
# Remember to change 'yourPassword' below to be a unique password
|
# Remember to change 'yourPassword' below to be a unique password
|
||||||
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'yourPassword';
|
CREATE USER 'pterodactyl'@'127.0.0.1' IDENTIFIED BY 'yourPassword';
|
||||||
|
|||||||
@ -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
|
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.
|
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
|
mysql -u root -p
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user