Files
raspberry-pi/mysql-externer-zugriff.md

23 lines
369 B
Markdown

## Zugriff auf MySQL von außerhalb
**MySQL Config-Datei bearbeiten**
```xml
sudo nano /etc/mysql/my.conf
```
->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
use ***db***;
GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'RootPassword';
exit
```