MySQL Database für Minecraft Server?
Hi,
Ich habe auf einem Computer bei mir zuhause letztens eine MySQL Database eingerichtet. Nun habe ich auf einem anderen Computer einen Minecraft server laufen. Beide Computer sind im selben Netzwerk. Auf dem Mc Server habe ich Luckperms installiert. Das wollte ich mit der MySQL database verknüpfen. Ich habe alle Informationen richtig angegeben jedoch kommt immer der gleiche error.:
xxxxxxxxxxxxx = Der Computer auf dem der Mc Server läuft.
Host ‘xxxxxxxxxxxx.fritz.box’ is not allowed to connect to this MySQL server
should already tell you that you have only given local permissions that are not valid when accessing another device when you assign rights to the SQL server.
So check the access rights of the user account used (in the MySQL database) again and supplement that that not only@localhost is permitted there.
It is regulated in the database by which connections a user may log in, you must set the user accordingly so that the Minecraft server can connect to the database via the network.
https://stackoverflow.com/questions/14779104/mysql-how-to-allow-remote-connection-to-mysql
However, you should only assign the rights that are required and limit the connections to IPs that are controlled by you.