Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI does not support db:create and db:drop for MariaDB #1236

Open
2 of 6 tasks
pbstriker38 opened this issue Dec 17, 2020 · 6 comments · May be fixed by #934
Open
2 of 6 tasks

CLI does not support db:create and db:drop for MariaDB #1236

pbstriker38 opened this issue Dec 17, 2020 · 6 comments · May be fixed by #934
Labels

Comments

@pbstriker38
Copy link

Feature Description

The Sequelize CLI does not support db:create or db:drop for MariaDB. The syntax is identical to MySQL so it's an easy addition.

Is your feature request related to a problem? Please describe.

I can't create the database with the CLI.

Describe the solution you'd like

Allow db:create and db:drop to be used with the mariadb dialect

Why should this be in Sequelize

Other dialects have these features

Describe alternatives/workarounds you've considered

Manually create the database by logging on to the server.

Feature Request Checklist

Is this feature dialect-specific?

  • No. This issue is relevant to Sequelize as a whole.
  • Yes. This issue only applies to the following dialect(s): MariaDB

Would you be willing to implement this feature by submitting a Pull Request?

  • Yes, I have the time and I know how to start.
  • Yes, I have the time but I don't know how to start, I would need guidance.
  • No, I don't have the time, although I believe I could do it if I had the time...
  • No, I don't have the time and I wouldn't even know how to start.
@pbstriker38 pbstriker38 linked a pull request Dec 17, 2020 that will close this issue
4 tasks
@jerptrs
Copy link

jerptrs commented May 31, 2021

Hey @pbstriker38, any updates on this or a workaround? I'm facing exactly this issue.

@pbstriker38
Copy link
Author

Hey @jerptrs . It's an extremely simple fix as you can see in the PR. The maintainers of this repo seem to be unresponsive though. We've pretty much abandoned using sequelize at this point. Easiest workaround would be to just use a different tool to create and drop your DB.

@github-actions

This comment was marked as off-topic.

@cyrilchapon

This comment was marked as off-topic.

@ephys ephys transferred this issue from sequelize/sequelize Jan 13, 2023
@ephys ephys reopened this Jan 13, 2023
@drazenbebic
Copy link

@pbstriker38 Any news on this? I'd really welcome this feature or a workaround.

@pbstriker38
Copy link
Author

@drazenbebic No news. It's up to the maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants