mysql error please help me

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
skadoosh
Posts: 1
Joined: Tue Dec 18, 2012 1:21 am

mysql error please help me

Post by skadoosh »

whenever i give this command

./backup.sh

i am presented with
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password NO)

Please help me. i have tried a method with the following commands:
/etc/init.d/mysqld stop
mysqld_safe --skip-grant-tables &
mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD("newrootpassword") where User='root';
mysql> flush privileges;
mysql> quit
/etc/init.d/mysqld stop
/etc/init.d/mysqld start

Please Help what should i do. I am using Version 0.8.8a.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests