diff --git a/panel/1.0/additional_configuration.md b/panel/1.0/additional_configuration.md index 8fa887f8b..7746ed89c 100644 --- a/panel/1.0/additional_configuration.md +++ b/panel/1.0/additional_configuration.md @@ -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'; ``` diff --git a/panel/1.0/getting_started.md b/panel/1.0/getting_started.md index 10ae34dc5..fee3f5bbd 100644 --- a/panel/1.0/getting_started.md +++ b/panel/1.0/getting_started.md @@ -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'; diff --git a/tutorials/mysql_setup.md b/tutorials/mysql_setup.md index 14f1c6428..c51c7e18d 100644 --- a/tutorials/mysql_setup.md +++ b/tutorials/mysql_setup.md @@ -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 ```