[Bacula-users] can't connect to mysql server
2011-06-27 04:09:41
Sorry, I must be doing something stupid here but I can't figure it out.
section of bacula-dir.conf
# Generic catalog service
Catalog {
Name = MyCatalog
# Uncomment the following line if you want the dbi driver
# dbdriver = "dbi:sqlite3"; dbaddress = 127.0.0.1; dbport =
dbname = "bacula;" DB Address = "127.0.0.1"; dbuser = "bacula";
dbpassword = "XXX"
}
when I connect by hand with mysql, it works fine
mysql -h 127.0.0.1 -u bacula -p -e 'show tables;' bacula > /tmp/mysfile
Tables_in_bacula
BaseFiles
CDImages
Client
Counters
Device
File
FileSet
Filename
Job
JobHisto
JobMedia
Location
LocationLog
Log
Media
MediaType
Path
PathHierarchy
PathVisibility
Pool
Status
Storage
UnsavedFiles
Version
netstat confirms that mysql is listening on 127.0.0.1:3306
This is a fresh install of ubuntu 11.04 that I am building into a backup
server. mysql and bacula were installed from .deb files.
thanks,
jerry
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] can't connect to mysql server,
Jerry Scharf <=
|
|
|