Setup MySQL 5.6 mit Macports

MacOS 10.10, aktuelle Macports. Ich möchte mysql 5.6 auf Port 3306 bekommen.

1) Installation von

port install mysql56-server mysql56

installiert [email protected]_0, danach

which mysql

ode

which mysql56

gibt nichts zurück.

So erste Frage ist, wo ist MySQL-Client?

2) Konfigurieren

Installationsskript schlägt vor, @ zu t

sudo -u _mysql /opt/local/lib/mysql56/bin/mysql_install_db

dan

/opt/local/lib/mysql56/bin/mysqladmin -u root password 'new-password'

die fragt nach Server läuft und ich starte es durch

cd /opt/local ; /opt/local/lib/mysql56/bin/mysqld_safe &

dann mysqladmin beschwert sich über Socket und ich kommentiere - skip-networking im / opt / local / etc / mysql56 / macports-default.cnf und danach geht der Befehl in Ordnung. dan

/opt/local/lib/mysql56/bin/mysqladmin -u root -h bp.local password 'new-password'

was zurückgibt

error: 'Host '10.0.1.9' is not allowed to connect to this MySQL server'

Ich weiß wirklich nicht, was ich hier ohne MySQL-Client machen soll. Und ich stecke irgendwie fest. Irgendwelche Vorschläge

Antworten auf die Frage(2)

Ihre Antwort auf die Frage