From: Tim Johnson Date: October 30 2012 5:25pm Subject: Re: Dumping drupal databases List-Archive: http://lists.mysql.com/mysql/228537 Message-Id: <20121030172544.GE371@mail.akwebsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii * Shawn Green [121030 09:01]: > On 10/30/2012 12:34 PM, Tim Johnson wrote: > >... snip ... > > > > Clearly, I have failed to pose my question clearly, because the > > responses indicate that I have not been understood, so I will try > > again: > > > > ***************************************************************** > > mysqldump does not recognize the drupal databases! > > Example : > > linus:prj tim$ mysqldump event -hlocalhost -utim > > -pXXXXXX > event.sql > > mysqldump: Got error: 1049: Unknown database 'event' when > > selecting the database > >... snip ... > > Your syntax is inverted. Put the name of the database at the end. > > mysqldump -hlocalhost -utim -pXXXXXX event> event.sql > > If you fail to do so, you would login as the 'anonymous user' if it is > still enabled on that machine and that account typically has zero > privileges. You are correct of course, but that does not solve the original problem. thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com