CREATE DATABASE wordpress CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
create user 'wordpress'@'localhost' identified by 'wordpress';
GRANT ALL ON wordpress.* TO 'wordpress'@'localhost' WITH GRANT OPTION;
gunzip < wordpress.sql.gz | mysql -u root -p wordpress
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme