--- Christoph Haas <[EMAIL PROTECTED]> wrote: > On Thursday 24 November 2005 19:40, Harry Putnam > wrote: > > NEWUSER ALERT! > > ;) > > > Using the scripts supplied with the install: > > ./create_bacula_database -p hpreader > > Creating MySQL database > > Enter password: > > > > *** regardless what is entered here.. it fails: > > ERROR 1045 (28000): Access denied for user > 'root'@'localhost' > > (using password: YES) > > Creation of bacula database failed.
The reason why I have suggested that was I got the same exact error when connecting to mysql. I have mysql running and in a root console I type: # mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) jmd0 # The simple fix for this was # mysql -p and then enter the password when it asks. I know the create_bacula_database scripts pass the command line args to the database so just by adding -p and nothing else to the command line this should work. Did yoy try that? I see above that you passed an hpreader along with the -p probably is the problem because mysql treates this as the name of the database. # mysql -p hpreader Enter password: ERROR 1049 (42000): Unknown database 'hpreader' jmd0 # Also did you verify that mysql was running when you tried that? John ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users