We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: