This is a Heroku buildpack that installs and adds just the mysql
binary (v5.7) from the mysql-client-core
deb package, which will be available in $PATH
on your Dyno.
Note: if you are interested in
mysqldump
binary check outhttps://github.com/Everlane/heroku-buildpack-mysql
- MySQL:
5.7
Note: tested compatiblity with
heroku-18
stack, it might have issues with different versions
-
via heroku cli:
$ heroku buildpacks:add https://github.com/stebogit/heroku-mysql-cli $ git push heroku master
-
or from the dashboard of your project
-----> MySQL Client app detected
-----> Downloading MySQL Client package
Looking for clients at: http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/
available clients:
mysql-client-core-5.7_5.7.31-0ubuntu0.18.04.1_amd64.deb
Selecting: mysql-client-core-5.7_5.7.31-0ubuntu0.18.04.1_amd64.deb
-----> Installing MySQL Client
dpkg -x /tmp/codon/tmp/cache/mysql-client-core.deb /tmp/build_5b3d30d0_/tmp/mysql-client-core
-----> Cleaning up
I basically registered thoughtbot
's buildpackage to Heroku and updated the docs