lixx: MySQL-command line mit MAMP

Beitrag lesen

Hallo Liste!

Ich verwende MAMP (Mac) als lokalen Webserver und möchte mich per Terminal mit dem MySQL-Server verbinden. Das sollte doch so gehen:

$ /Applications/MAMP/Library/bin/mysql --user=root --password=root

Bekomme aber folgende Fehlermeldung:

/Applications/MAMP/Library/bin/mysql: line 1: syntax error near unexpected token (' /Applications/MAMP/Library/bin/mysql: line 1: -- MySQL dump 10.13  Distrib 5.1.44, for apple-darwin8.11.1 (i386)'

Hat jemand eine Idee woran das liegen könnte?

lg lixx