コマンド でmysqlを起動させてみる
ずっとGUIでやっていたので、コマンドからやってみる
MAMPを使う
$ cd /Applications/MAMP/Library/bin/
$ mysql.server start //起動
$ mysql -u root //ログイン
すると
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
となる。
これでmysqlの中にはいっている状態になっているので、その中で実際に操作をしていく。