mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 19:55:47 +01:00
Updated MySQL MariaDB Storage (markdown)
parent
b7857014e9
commit
a6107211fc
@ -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</code></pre>
|
||||
</details>
|
||||
|
||||
## Add new users
|
||||
### Add new users
|
||||
|
||||
**note:**
|
||||
If the MySQL server is on the same server as the minecraft server. <minecraftserver_ip> 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user