Quick MySQL/Maria instructions

This commit is contained in:
Brendan 2020-10-10 21:26:42 +01:00 committed by GitHub
parent 5aa40d8848
commit c64401ac34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,16 @@ Now that all of the files have been downloaded we need to configure some core as
::: tip Database Configuration
You will need a database setup and a user with the correct permissions created for that database before
continuing any further. If you are unsure how to do this, please have a look at [Setting up MySQL](/tutorials/mysql_setup.html).
continuing any further. See below to quickly create a user and database for your Pterodactyl panel, if you are unsure how to do this or want more information, please have a look at [Setting up MySQL](/tutorials/mysql_setup.html).
```
$ mysql -u root -p
mysql> CREATE USER 'pterodactyl'@'localhost' IDENTIFIED WITH mysql_native_password BY 'A secure password';
mysql> CREATE DATABASE panel;
mysql> GRANT ALL ON panel.* TO 'pterodactyl'@'localhost' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
```
:::
First we will copy over our default environment settings file, install core dependencies, and then generate a