mysql -u root -p USE mysql; GRANT ALL PRIVILEGES ON *.* TO 'phpmyadmin'@'localhost' IDENTIFIED BY 'debian' WITH GRANT OPTION; FLUSH PRIVILEGES; EXIT;