More than 1 year has passed since last update.
前提
- 環境:さくらレンタルサーバースタンダードプラン
- 目的:terminalからssh接続した状態でコマンドラインからmysqlをいじりたい!
方法
$ mysql --host=mysqlxxx.db.sakura.ne.jp --user=foobar --password=xxxxxxxxxxxxxxxxx
さくらのレンタルサーバでmysqlをコマンドラインから使う
この--host
オプションをつけてなくて、ずーっとエラーが吐かれてて焦ったので、メモがわりに書いておきます。
Why not register and get more from Qiita?
- We will deliver articles that match you
By following users and tags, you can catch up information on technical fields that you are interested in as a whole
- you can read useful information later efficiently
By "stocking" the articles you like, you can search right away
Sign upLogin