question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sync is missing from the docs, and Unknown database problem

See original GitHub issue

Going here: https://db-migrate.readthedocs.io/en/latest/ https://db-migrate.readthedocs.io/en/latest/Getting Started/the commands/

I do not see sync, which is in my --help

`db-migrate --help Usage: db-migrate [up|down|reset|sync|create|db|seed|transition] [[dbname/]migrationName|all] [options]

db-migrate --version 0.10.0-beta.20 `

Also, if I drop my database, then I can’t figure out how to get it back, using db-migrate: `> db-migrate db:drop app_test_database

db-migrate db:create app_test_database [ERROR] Error: ER_BAD_DB_ERROR: Unknown database ‘app_test_database’

db-migrate up [ERROR] Error: ER_BAD_DB_ERROR: Unknown database ‘app_test_database’`

<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38632664-sync-is-missing-from-the-docs-and-unknown-database-problem?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github). </bountysource-plugin>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
wzrdtalescommented, Oct 24, 2016

@subatomicglue Yeah, this needs to be cleaned up.

Seeds are postponed to a later point in time. They were originally part of the 0.10.x release, but as I want the current 0.10.x to get stable and switch afterwards to a release cycle with monthly releases I decided to postpone this instead and don’t make the release dependent on that. Basically they are just what they sound like. A Data manipulation toolset, as migrations are really to moving a database from one state to another, but this can always include manipulating the data, which is not necessarily part of a migration.

I invested much time the last week into documentation and now take my time to finish those and back the new programable API with tests.

0reactions
stale[bot]commented, Nov 23, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix problems in Drive for desktop - Computer - Google Support
Here are some general problems you might see: Files not syncing between your computer and My Drive. Drive for desktop stops or quits...
Read more >
Repair sync connections in OneDrive for work or school
Sync errors can occur for several reasons with OneDrive for work or school. Many errors can be fixed by using the Repair option...
Read more >
Diagnose issues for MySQL | Database Migration Service
Error message: Lost connection to MySQL server during query when dumping table . The source database may have become unreachable, or the dump...
Read more >
2 Server Error Message Reference - MySQL :: Developer Zone
The MySQL server writes some error messages to its error log, and sends others ... Scheduler: [evtuser@localhost][myschema.e_daily] Unknown database 'mydb'.
Read more >
How to re-sync the Mysql DB if Master and slave have different ...
mysqldump -u root -p --all-databases > /a/path/mysqldump.sql ... writing directly to the slave (Server2) the only problem should be that Server2 is missing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found