Web lists-archives.com

my.cnf authencication

I'm running a mysqldump in windows and I'm mailing 2>> output, right now I get this annoying 'insecure' error that pollutes my log. So I figured I use --defaults-file and set:

In c:\sql\dump.cnf

user = myuser
password = pass

my line looks like this

mysqldump --defaults-file  dbase > c:\sql\dbase.sql 2>> c:\log.tct

My log shows:

mysqldump: Got error: 1045: Access denied for user 'lts-file=c:\sql\dump.cnf'@'localhost' (using password: NO) when trying to connect

It looks like credentials are not filled in!?


MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql