-
Notifications
You must be signed in to change notification settings - Fork 366
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
Access denied for user 'root'@'localhost' #194
Comments
Hi, Salt mysql module is trying to import MySQLdb and if it fails, pymysql is imported:
So, the main problem is that pymysql is not using /var/run/mysqld/mysqld.sock as default, as formula does. That's why first attempt fails, but when second attempt is executed, MySQLdb If you always use pymysql: This is a problem when you perform a fresh install (for CI for example), so I added Please, correct me if I'm wrong. I'm new on salt 😇 PD: This tests are executed with vagrant and ubuntu xenial, with most of defaults. |
I have never seen your specific issue (yet ;-). Just tested on Ubuntu xenial /Fedora today (different problems saltstack-formulas/devstack-formula#2 and saltstack-formulas/devstack-formula#3) But I'm new on mysql 😇too. I presume |
Hi,
I get this error when i exec mysql state for the first time with mariadb. It fails in mysql_database.present function:
but second attempt works. Is this a known issue? Am I doing anything wrong?
Thanks in advance.
The text was updated successfully, but these errors were encountered: