GRANT SELECT ON database.* TO user@'localhost' IDENTIFIED BY 'password'; Byt ut platshållarna med dina värden.