MySQL Initialize

The database should be initialized and started before configuring the WordPress installation or before running the wp core config command. We have to create the configuration file (e.g pocket.cnf) and the init file (e.g pocket-init.txt) in the app directory, and set the current user as the owner of the child process. The following steps should be taken.

– create the config files in the app directory
– initialize the database based on the config files
– start the database after initializing

Once the database has been initialized and started, we can start the WordPress installation.