heroku-mysqldump's People
heroku-mysqldump's Issues
Using mysql:dump prepends a comment to the dump file, making it syntax error
Using heroku mysql:dump <db> --search <old> --replace <new> > dump.sql
prepends the generated dump.sql with info about database provider, such as Using ClearDB
.
Easy fix would be to prepend the echo with --
making it -- Using ClearDB
so it wont destroy the syntax, but it might not be ideal to fix the root cause.
Script doesn't work with multiple heroku apps in the same directory
It should accept --app myherokuapp parameter and forward it properly to Heroku CLI.
Write better error message when --db must be used
The current...
Warning! Both ClearDB and JawsDB seem to be defined. Please indicate which one to use with the --db parameter
is not clear enough.
Updating command-line interface for the tool
After discussion with pnu we agreed to change the interface for the tool.
heroku cleardb:pull X, where X is either:
a) local database name (we will use user root, empty password, and localhost as default).
b) MySQL DSN (mysql://username:password@host/database_name). For example: mysql://root@localhost/database-name should be an equivalent of option a).
Implement backup option when pulling/pushing
It should be optional. The name should indicate project name, date of the backup, and whether is backup from local machine of from heroku.
Issue with installation
Hi, looks like a very handy script.
Unfortunately I have trouble installing.
heroku plugins:install https://github.com/josepfrantic/heroku-mysqldump
Installing https://github.com/josepfrantic/heroku-mysqldump@latest... !
▸ yarn add https://github.com/josepfrantic/heroku-mysqldump@latest --non-interactive
▸ --mutex=file:/Users/edwin/.local/share/heroku/plugins/yarn.lock
▸ --preferred-cache-folder=/Users/edwin/Library/Caches/heroku/yarn
▸ --registry=https://cli-npm.heroku.com exited with code 1
▸ error Refusing to download the git repo
▸ {"hostname":"github.com","protocol":"https:","repository":"https://github.com/josepfrantic/heroku-mysqldump@latest"}
▸ over HTTPS without a commit hash - possible certificate error?
▸
▸ yarn add v1.3.2
▸ info No lockfile found.
▸ [1/4] Resolving packages...
▸ info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
I tried to follow some of the tips when searching for this error like here:
yarnpkg/yarn#2976
However, I did not manage to get it working (not knowing much about yarn etc).
Is there a workaround for installing heroku-mysqldump ?
dash in the schema name
dear developer,
first of all - this is an awesome tool!!! i am so thankful you made it!
a minor addition to make it more awesome would be to allow for dash -
separators in the schema name.
at present, when the local schema name contains a dash -
, the operation fails with failing to parse url
you are the best. thank you for the great work. <3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.