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
Starting dolt as a sql server specifying user and host parameter creates a user at the host as defined. This should be the %
default.
#4079
Comments
Did you create additional users? Once you create additional users, the defined system user is deleted. |
@timsehn , thanks for your quick response. I did not create any users. This was the result of just starting the server with the command line parameter for host and user. I tried specifying with a password and that did not work either. I neglected to mention that I am working on Linux, though that likely should not make a difference. Thanks, |
OK. @jcor11599 will try and reproduce today. |
I can't reproduce on the command line. In one shell:
Other shell:
|
Also specifying
Other shell
What tool are you using to connect? That too may be running commands on startup that are confusing Dolt. |
I can also get the In one shell:
Other shell:
|
Can we see the connection string / configuration dialog for the GUI you're using? |
FYI @timsehn and @zachmu |
Thanks, we're still digging. It works as intended pre 0.39.5 correct? |
@timsehn 0.39.5 works with DBeaver and I believe earlier versions do as well but I haven’t confirmed. |
I think I found the bug. When you run the server like so:
It rewrites the
So, in your case it's only allowing connections as I'm not sure how MySQL works in this case but I presume what we want is to just use the |
%
default.
I think you can work around this by starting the server like so:
I don't think We're discussing internally whether we want that option at all because |
We're going to make -H not apply to the user permissions. This will get fixed today by @jcor11599. |
@jcor11599 , would you mind giving me a heads up when the change mentioned by @timsehn has been incorporated into a new release? Thanks, |
@chrisfw, change is merged to main; and currently running a release. Will let you know when dolt |
@chrisfw dolt |
@jcor11599 , thank you very much! I really appreciate you completing this so quickly. Regards, |
Specifying the -u command line parameter no longer works. Dolt version 0.40.25 . I kept working my way backward through earlier releases to finally make it work as documented (version .39.5)
The text was updated successfully, but these errors were encountered: