andrea30
May 13th, 2014, 09:47 AM
Today i wanted to install the automysqlbackup package.
The installation went fine.
When i run it, i get this error:
ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)
So, i tried to connect to mysql server in order to give full privileges to the debian-sys-maint user.
Then i logged into the mysql server with mysql -u root -p command, but when i try to execute the following command:
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'secret';
i get this error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
But i'm executing the command as root logged into the console.
Some idea?
The installation went fine.
When i run it, i get this error:
ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)
So, i tried to connect to mysql server in order to give full privileges to the debian-sys-maint user.
Then i logged into the mysql server with mysql -u root -p command, but when i try to execute the following command:
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'secret';
i get this error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
But i'm executing the command as root logged into the console.
Some idea?