Setup WordPress Database with MySQL
Now we will setup a database that will communicate with our WordPress instance. Run the following commands:
mysql -u root -p
Make a database named ‘wordpress’ although you can name it whatever you’d like.
create database wordpress;
Hit enter, and then hit Ctrl-D to exit the MySQL prompt.