-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Error when creating User with mariadb_user method #198
Comments
Don't know why the current_resource is not loaded by the load_current_value method... But to circumvent the problem, we can perhaps add 'CREATE USER IF NOT EXISTS' instead of just 'CREATE USER' . What do you think ? |
Can you please check if the problem you're having is related with #191 ? |
It was partially the problem 😀 You identified the first problem i hit. But there's a second one. My ctrl_host is really localhost, while host is != localhost. It this case, when i use Mysql2, it does not try to connect to localhost/3306, but rather try to use the default socket (/tmp/mysql.sock). So i also had to replace host by ctrl_host on line 178, plus your patch, and it correct this bug. Could you modify your PR to do so ? So it will correct y bug as well as yours. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
On the first run, it successfully create the user. During the second run, and all others, got this error:
` * mariadb_user[stagingReachApi] action create
`
The text was updated successfully, but these errors were encountered: