Hi,
I'm posting here cause this is not Gentoo related at all. I don't know anything about MySQL - but I'm running MySQL on a SUSE 9.3 box and I have to backup a database. It doesn't work :
=============================
# mysqldump --user root --password="My-Very-Long-Password" zabbix /tmp/dump.test
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
=============================
BUT I can connect to the database with the same password :
=============================
# mysql zabbix -p
// I enter My-Very-Long-Password here
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11756 to server version: 4.1.10a
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
+----------+
| Database |
+----------+
| mysql |
| test |
| zabbix |
+----------+
3 rows in set (0.01 sec)
=============================
Anything I should try? What I'm I doing wrong??
I'm posting here cause this is not Gentoo related at all. I don't know anything about MySQL - but I'm running MySQL on a SUSE 9.3 box and I have to backup a database. It doesn't work :
=============================
# mysqldump --user root --password="My-Very-Long-Password" zabbix /tmp/dump.test
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
=============================
BUT I can connect to the database with the same password :
=============================
# mysql zabbix -p
// I enter My-Very-Long-Password here
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11756 to server version: 4.1.10a
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
+----------+
| Database |
+----------+
| mysql |
| test |
| zabbix |
+----------+
3 rows in set (0.01 sec)
=============================
Anything I should try? What I'm I doing wrong??