Files
raspberry-pi/mysql-externer-zugriff.md
2018-03-17 18:31:46 +01:00

353 B

Zugriff auf MySQL von außerhalb

MySQL Config-Datei bearbeiten

sudo nano /etc/mysql/my.conf

->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