Files
raspberry-pi/mysql-externer-zugriff.md
2018-04-05 13:12:35 +02:00

374 B

Zugriff auf MySQL von außerhalb

MySQL Config-Datei bearbeiten

sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf

->Suche (CTRL+W) nach "bind", Zeile auskommentieren

MySQL neu starten

sudo /etc/init.d/mysql restart

Rechte in der DB setzen

mysql -p -u root  
GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'RootPassword';
exit