-
Notifications
You must be signed in to change notification settings - Fork 20
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
Create user failed #4
Comments
Hello, On practice you must have some initial set up of a DB before using oursql. Also, user doesn't matter. Every ourSQL node can have own user for a DB. Users should not be synced |
Thanks @Gelembjuk for your quick reply This would complicate things in production, say for a multi-tenant application where a new dB is created for every new client. A solution would be to convert this command to an insert in table mysql.user (like we used to do for old versions of MySQL) |
Our tests have failed. The fact that you don't support so many initialising functions such as create user, create db etc. makes it next to impossible to use in production. We have to do a lot of customisation to our app before we can fully test. We definitely need support for create database and failing gracefully on create user (i.e. no errors returned) We can be a great use case: here is our website https://www.office2.io |
You still can do all initialization directly to on the DB server. |
Thank you -- will follow this advice and share our results |
@Gelembjuk
Hope all is well, sent you a message on linked-in
We tried oursql as a replacement for mysql in one of our apps and it failed during initialisation:
create user
-->ERROR 4 (HY000): Unknown query type
How would we use oursql in production?
The text was updated successfully, but these errors were encountered: