On 7/20/2010 5:24 AM, Proskurin Kirill wrote: > Hello. > > What we have: > FreeBSD-8.0 > bacula-client-3.0.3 > bacula-server-3.0.3 > ysql-client-5.1.44 > mysql-server-5.1.44 > > I try to restore catalog records from volume and do: > > bscan -p hidden -v -r -c /usr/local/etc/bacula-sd.conf > /backup/production/server.domain.org/server.domain.org-full-0093 > > bscan: butil.c:282 Using device: "/backup/production/server.domain.org" > for reading. > 20-Jul 09:11 bscan JobId 0: Ready to read from volume > "server.domain.org-full-0093" on device "server.domain.org" > (/backup/production/server.domain.org). > 20-Jul 09:12 bscan: ERROR TERMINATION at bscan.c:305 > mysql.c:195 Unable to connect to MySQL server. > Database=bacula User=root
That is user root > MySQL connect failed either server not running or your authorization is > incorrect. > > But it is not true: > > mysql -ubacula -phidden bacula This is user bacula > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 88184 > Server version: 5.1.44 FreeBSD port: mysql-server-5.1.44 > > Type 'help;' or '\h' for help. Type '\c' to clear the current input > statement. > > mysql> Ctrl-C -- exit! > > So - why bscan failed authorization? Whats wrong? > > P.S. I try to set -h localhost and I try to use root mysql auth - not helps. -- Dan Langille - http://langille.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users