Hallo,
ich möchte gerne eine Master-Slave Konfiguration auf die Beine stellen, dafür muss ich ja einem user die Rechte "GRANT REPLICATION SLAVE ON" geben, leider funktioniert das nicht - egal ob per phpMyAdmin oder über SSH.
Selbst 'Root' kann ich diese Rechte nicht geben, was stimmt da nicht?
LG
Edit: ein paar Befehle die ich getestet habe:
SSH:
Debian-50-lenny-64-minimal:~# mysql -u root -p
Enter password:
mysql> GRANT ALL PRIVILEGES ON * . * TO 'root'@'localhost' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysql> GRANT ALL PRIVILEGES ON * . * TO 'root'@'%' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
phpMyAdmin:
Fehler
SQL-Befehl:
GRANT ALL PRIVILEGES ON * . * TO 'root'@'127.0.0.1' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
MySQL meldet:
#1045 - Access denied for user 'root'@'localhost' (using password: YES)
ich möchte gerne eine Master-Slave Konfiguration auf die Beine stellen, dafür muss ich ja einem user die Rechte "GRANT REPLICATION SLAVE ON" geben, leider funktioniert das nicht - egal ob per phpMyAdmin oder über SSH.
Selbst 'Root' kann ich diese Rechte nicht geben, was stimmt da nicht?
LG
Edit: ein paar Befehle die ich getestet habe:
SSH:
Debian-50-lenny-64-minimal:~# mysql -u root -p
Enter password:
mysql> GRANT ALL PRIVILEGES ON * . * TO 'root'@'localhost' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysql> GRANT ALL PRIVILEGES ON * . * TO 'root'@'%' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
phpMyAdmin:
Fehler
SQL-Befehl:
GRANT ALL PRIVILEGES ON * . * TO 'root'@'127.0.0.1' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
MySQL meldet:
#1045 - Access denied for user 'root'@'localhost' (using password: YES)
Comment