LoginSignup
7
7

More than 5 years have passed since last update.

HerokuのMySQLのバージョン確認

Posted at

なんか、ドキュメントからバージョンの情報を見つけられなかったので、コマンドラインから接続して確認した。

コマンドラインからMySQLに接続
$ mysql -h <ホスト> -u <ユーザー名> -p -D <データベース名>
Enter password: <パスワード>

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2491927
Server version: 5.5.42-log MySQL Community Server (GPL)

5.5.42 でした。

ホスト名とかユーザー名とかは、 heroku config で確認できる。

$ heroku config | grep "mysql"
CLEARDB_DATABASE_URL: mysql://<ユーザー名>:<パスワード>@<ホスト名>/<データベース名>?reconnect=true
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7