I wanted a clarify my post a little bit, because I beleive I missed a few details...
> 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 # > This was the error you got when you ran any of the scripts to create the bacula database. I know that these scripts pass the command on to the mysql command (which is a command line client to your mysql database). > 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? I know this is not the case because if the server (mysqld) is not running it would give the following error: # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I see that your new error is: > ERROR 1045 (28000): Access denied for user 'root'@'localhost' > (using password: YES) Did you add the correct system root password to your /etc/mysql/my.cnf file? After I do that I can run mysql with no -p parameter at all. # mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 to server version: 4.1.14-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. But if I enter the wrong root password in that file I get this error when connecting: # mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) jmd0 ~ # 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