From a6107211fcab54cddc724ac799aa69e7b482a068 Mon Sep 17 00:00:00 2001 From: JurgenKuyper <45831568+JurgenKuyper@users.noreply.github.com> Date: Thu, 5 May 2022 10:15:18 +0200 Subject: [PATCH] Updated MySQL MariaDB Storage (markdown) --- MySQL-MariaDB-Storage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MySQL-MariaDB-Storage.md b/MySQL-MariaDB-Storage.md index 3cde8c8..ef2f5ab 100644 --- a/MySQL-MariaDB-Storage.md +++ b/MySQL-MariaDB-Storage.md @@ -51,7 +51,7 @@ For the rest of the questions, you should press `Y` and hit the `ENTER` key at e Note that in Ubuntu systems running MySQL 5.7 (and later versions), the root MySQL user is set to authenticate using the auth_socket plugin by default rather than with a password. This allows for some greater security and usability in many cases, but it can also complicate things when you need to allow an external program (e.g., phpMyAdmin) to access the user. -## setup of the MySQL/MariaDB server. +### setup of the MySQL/MariaDB server. Now, to setup the MySQL/MariaDB server. It is recommended to create a new user/password with limited permissions for each application. @@ -61,7 +61,7 @@ If you are setting up an external web server, you can also setup a firewall (ipt Using a terminal on the server that is hosting the minecraft server, we will create a new database and add some database users. -## Creating a new database in MySQL/MariaDB +### Creating a new database in MySQL/MariaDB mysql -u root -p [Enter mysql root password if there is one] @@ -76,7 +76,7 @@ mysql> CREATE DATABASE DynmapDatabase; mysql> exit -## Add new users +### Add new users **note:** If the MySQL server is on the same server as the minecraft server. should just be localhost @@ -119,7 +119,7 @@ MySQL has these permissions available to set to MySQL users. * SELECT - Allows user to read from a database * UPDATE - Allows user to update data in a table -## editing dynmap/configuration.txt +### Editing dynmap/configuration.txt Firstly, if using forge or fabric, the mods created by kosma that add the SQL connectors that work on both fabric and Forge need to be installed.