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

Unable to connect to wikimedia labsdb #30

Open
ananthrk opened this issue Mar 26, 2015 · 0 comments
Open

Unable to connect to wikimedia labsdb #30

ananthrk opened this issue Mar 26, 2015 · 0 comments

Comments

@ananthrk
Copy link

The following example code does not seem to work for the labs db connection parameters.

from mw import database
db = database.DB.from_params(
host="enwiki.labsdb",
read_default_file="~/.my.cnf",
user="myusername",
db="enwiki_p"
)

It fails in the pymysql.connect method with the following error:

pymysql.err.OperationalError: (1045, "Access denied for user 'myusername'@'<ip_address>' (using password: YES)")

FWIW, the parameter values are correct as the same works from the command line.

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

No branches or pull requests

1 participant