mirror of https://github.com/webbukkit/dynmap.git
added index requirement to database privileges
parent
4e94bcc479
commit
5f48863399
|
@ -83,7 +83,7 @@ If the MySQL server is on the same server as the minecraft server. <minecraftser
|
|||
<pre><code>mysql -u root -p
|
||||
[Enter mysql root password if there is one]
|
||||
mysql> CREATE USER '<dynmap_user>'@'<minecraftserver_ip>' IDENTIFIED BY '<password>';
|
||||
mysql> GRANT CREATE, DELETE, INSERT, SELECT, UPDATE ON <dynmap_database>.* TO '<dynmap_user>'@'<minecraftserver_ip>';
|
||||
mysql> GRANT CREATE, DELETE, INSERT, SELECT, UPDATE, INDEX ON <dynmap_database>.* TO '<dynmap_user>'@'<minecraftserver_ip>';
|
||||
mysql> FLUSH PRIVILEGES;
|
||||
mysql> exit</pre></code>
|
||||
|
||||
|
@ -92,7 +92,7 @@ mysql> exit</pre></code>
|
|||
<pre><code>mysql -u root -p
|
||||
[Enter mysql root password if there is one]
|
||||
mysql> CREATE USER 'minecraftserver'@'localhost' IDENTIFIED BY 'password5678';
|
||||
mysql> GRANT CREATE, DELETE, INSERT, SELECT, UPDATE ON 'minecraftserver'@'localhost'';
|
||||
mysql> GRANT CREATE, DELETE, INSERT, SELECT, UPDATE, INDEX ON 'minecraftserver'@'localhost'';
|
||||
mysql> FLUSH PRIVILEGES;
|
||||
mysql> exit</pre></code>
|
||||
</details>
|
||||
|
|
Loading…
Reference in New Issue