Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebadima/57ee80560bbd66be000a84c3dbb7e719 to your computer and use it in GitHub Desktop.
Save sebadima/57ee80560bbd66be000a84c3dbb7e719 to your computer and use it in GitHub Desktop.
mysql -u root -p
CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8;
CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'miapassword';
GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpressuser'@'localhost';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment