mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 10:44:43 -06:00
update mysql command to mariadb
This commit is contained in:
parent
4fd1687edf
commit
28460757f4
@ -127,7 +127,7 @@ 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
|
||||||
mysql -u root -p
|
mariadb -u root -p
|
||||||
UPDATE panel.settings SET value = 'false' WHERE `key` = 'settings::recaptcha:enabled';
|
UPDATE panel.settings SET value = 'false' WHERE `key` = 'settings::recaptcha:enabled';
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ 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
|
||||||
mysql -u root -p
|
mariadb -u root -p
|
||||||
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';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -115,7 +115,7 @@ 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
|
||||||
mysql -u root -p
|
mariadb -u root -p
|
||||||
|
|
||||||
# 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';
|
||||||
|
|||||||
@ -13,7 +13,7 @@ things setup. To do so, simply run the command below and provide the Root MySQL
|
|||||||
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
|
``` bash
|
||||||
mysql -u root -p
|
mariadb -u root -p
|
||||||
```
|
```
|
||||||
|
|
||||||
### Creating a user
|
### Creating a user
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user