grant all privileges on *.* to ‘user’@'localhost’ identified by ‘password’;
flush privileges;