Wednesday, February 24, 2010

MySQL - debian-sys-maint account

Find your debian-sys-maint password in /etc/mysql/debian.cnf.

Then use this command in Mysql shell:

GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' \
IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;

Replace PASSWORD with your debian-sys-maint password.

No comments: