Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42F7396C.5050207@etr-usa.com> Date: Mon, 08 Aug 2005 04:52:28 -0600 From: Warren Young User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: Cygwin-L Subject: Re: Updated MySQL patch file to version 4.1.13a References: <42F02793 DOT 8080109 AT etr-usa DOT com> <42F07A02 DOT 4040308 AT familiehaase DOT de> <42F20ACF DOT 8050309 AT etr-usa DOT com> <42F2134E DOT 59A5E50F AT dessent DOT net> <42F23B1F DOT 7000303 AT etr-usa DOT com> <42F33DD7 DOT 8040701 AT familiehaase DOT de> <42F3533F DOT 6010408 AT etr-usa DOT com> <42F4C705 DOT 5080701 AT familiehaase DOT de> In-Reply-To: <42F4C705.5080701@familiehaase.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/