2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

HerokuでSequel ProからClearDBに接続する方法

Posted at

1. HerokuのCLEARDB_DATABASE_URLを確認する


`コマンドを実行`
$ heroku config --app アプリ名

:point_down:CLEARDB_DATABASE_URLの情報が表示される


CLEARDB_DATABASE_URL: mysql://ユーザー名:パスワード@ホスト/データベース?reconnect=true

### 2.表示されたCLEARDB_DATABASE_URLの情報をバラして入力する 標準接続モードを選択 ![スクリーンショット 2020-10-28 20.44.10.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/828524/03c1518c-237e-ad37-8a93-55035867089a.png) 以上
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?