delorie.com/archives/browse.cgi | search |
Gerrit P. Haase wrote: > > $ ./resetdb 192.168.1.101 gerrit > Connecting to database server... > Error creating DB: Access denied for user ''@'INSPIRON' to database > 'mysql_cpp_data' > > Username is empty here but should be gerrit. It looks the same when I > specify no username or mysqld or whatever. I can't reproduce that here. If I create a MySQL user with no password, resetdb runs just fine (when statically linked to libmysqlclient). If I add a password, I get an error message including the user name. This message comes from libmysqlclient, so perhaps something is messed up on your end. MySQL permissions are notoriously tricky. MySQL could be defaulting to the default "all users" user, for instance, due to lack of a suitable "gerrit AT wherever" user. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |