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

22 lines
374 B
Markdown

## Zugriff auf MySQL von außerhalb
**MySQL Config-Datei bearbeiten**
```xml
sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
```
->Suche (CTRL+W) nach "bind", Zeile auskommentieren
**MySQL neu starten**
```xml
sudo /etc/init.d/mysql restart
```
**Rechte in der DB setzen**
```xml
mysql -p -u root
GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'RootPassword';
exit
```