I need a password for an user as Drupal’s installation asks that. I’m totally newcomer on creating databases so I tried this:
CREATE DATABASE 'drupaltest';
CREATE USER 'jaakko'@'localhost' IDENTIFIED BY 'password';
But PHPMyAdmin says
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`password`'
Could anyone say what queries should I put to make an user with password that Drupal’s installation requires and what grants should the new user have?
What you have should work I think. The only things I can think of is maybe you have the wrong type of quotation marks or maybe it has an issue with you setting password to ‘password’. Perhaps try set it to something else. If that doesn’t work maybe try create the user and then in a separate statement set the password and see if / where it trips up. E.g.
This will also store the password more securely since the hash value will be stored instead of just the plain-text.