mysql -u root -pxxx
CREATE DATABASE yyy;
CREATE USER zzz@localhost IDENTIFIED BY ‘zzz’;
GRANT ALL PRIVILEGES ON yyy.* TO zzz@localhost IDENTIFIED BY ‘zzz’;
FLUSH PRIVILEGES;
exit
Thanks to:
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-centos-7