Package: cacti
Version: 0.8.5a-8
Followup-For: Bug #273261

I'm experiencing the same problem. I've tested this by createing a local
file called 'tmpfile' with the contents:
[client]
host = sd01
port = 3306
user = admin
password = hash)(*&[EMAIL PROTECTED]

and running the command (which is one of the commands used in the
cacti.postinst):
$ mysql --defaults-file=tmpfile -B -e 'show databases'

Gives me:
ERROR 1045: Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES)

If I change the contents of 'tmpfile' so the last line is:
password = 'hash)(*&[EMAIL PROTECTED]'

then I get
$ mysql --defaults-file=tmpfile -B -e 'show databases'
Database
mysql


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages cacti depends on:
ii  apache                        1.3.33-3   versatile, high-performance HTTP s
ii  debconf                       1.4.30.11  Debian configuration management sy
ii  libphp-adodb                  4.52-1     The 'adodb' database abstraction l
ii  logrotate                     3.7-2      Log rotation utility
ii  mysql-client                  4.0.23-3   mysql database client binaries
ii  php4                          4:4.3.10-2 server-side, HTML-embedded scripti
ii  php4-cgi                      4:4.3.10-2 server-side, HTML-embedded scripti
ii  php4-mysql                    4:4.3.10-2 MySQL module for php4
ii  php4-snmp                     4:4.3.10-2 SNMP module for php4
ii  rrdtool                       1.0.49-1   Time-series data storage and displ
ii  snmp                          5.1.2-6    NET SNMP (Simple Network Managemen
ii  wwwconfig-common              0.0.42     Debian web auto configuration

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to