https://bugzilla.wikimedia.org/show_bug.cgi?id=73147
Bug ID: 73147 Summary: MySQLPageGenerator fall back to .my.cnf if config.db_hostname etc are not set Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: pagegenerators Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: valhallasw@arctus.nl Web browser: --- Mobile Platform: ---
defaults are now
# ############# DATABASE SETTINGS ############## db_hostname = 'localhost' db_username = 'wikiuser' db_password = ''
but falling back to .my.cnf would allow direct usage on e.g. labs.