Posted By

ampt on 01/08/14


Tagged

sql db wp


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

fhenderson


Create DB for Wordpress


 / Published in: SQL
 

Example: CREATE SCHEMA db_wordpress_02 ;

GRANT ALL PRIVILEGES ON dbwordpress02.* to 'root'@'localhost' IDENTIFIED BY 'scr1ptlov3r';

  1. CREATE SCHEMA `your_db_name` ;
  2.  
  3. GRANT ALL PRIVILEGES ON your_db_name.* TO 'your_user_name'@'localhost' IDENTIFIED BY 'your_password';

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: ampt on January 8, 2014

CREATE SCHEMA db_name ;

USE db_name;

GRANT ALL PRIVILEGES ON db_name.* to 'Username'@'localhost' IDENTIFIED BY 'Password';

You need to login to post a comment.