Create a MySQL user and grant permissions

CREATE USER 'someUser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON someDatabase.* TO 'someUser'@'localhost';
FLUSH PRIVILEGES;

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.