herokuのClearDBからダンプファイルを作成したい
1分で読める
テック
ClearDBのバックアップをローカルに保存して開発環境で再現させたいときに実行したコマンドの覚書です
mysqldump -h host_name heroku_xxxxxxxxxx -u usernameaaaaa -p --no-tablespaces > dump.sql
—no-tablespacesが必要だった
参考サイト
https://qiita.com/yuskamiya/items/e19492c2eeee13c8845d
https://tech.gootablog.com/article/mysqldump-couldnt-execute/