MySQL remote user für Workbenchzugriff auf VBOX

28.10.2017 | Mysql

CREATE USER 'remote'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'remote'@'localhost' WITH GRANT OPTION; CREATE USER 'remote'@'%' IDENTIFIED BY 'password'; GRANT AL

CREATE USER 'remote'@'localhost' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON *.* TO 'remote'@'localhost' WITH GRANT OPTION;

CREATE USER 'remote'@'%' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON *.* TO 'remote'@'%' WITH GRANT OPTION;

FLUSH PRIVILEGES;

Der remote-User muß tatsächlich 2x angelegt werden! Kann dasselbe PW haben. 

Die Fehlermeldung "Host 'xxx.xx.xxx.xxx' is not allowed to connect to this MySQL" ist irreführend!  Tatsächlich geht es nicht um den Host, sondern um den User!

Allerdings müssen in der mysql.conf bind-address und skip-external-locking auskommentiert werden, damit die DB externe Verbindungen zuläßt.

 

Analyse

Entwurf

Development

Launch