using WGET - backup of mysql database

kobartek

Registered
Dec 20, 2002
1
0
151
Earlier it was possible to download database file using following command:

wget http://account.com:2082/getsqlbackup/database.gz --http-user=account --http-passwd=********

unfortunately, now when trying to wget with the same command, error message is generated into file.gz:

mysqldump: Got error: 1045: Access denied for user: '*******@localhost' (Using password: YES) when trying to connect

Can someone advise as per proper wget`s command with mysql authorization?