Building a WordPress environment because the automatically installed script does not provide the ability to create a database, you first create the database.
1. Create a database using the following command (all commands in the MySQL interface that are already logged in)
①create database name;
②grant select,insert,update,delete,create,drop,alter on database name. * To database name @localhost identified by ' password ';
③set PASSWORD for ' database name ' @ ' localhost ' = old_password (' password ');
Execute 3 commands in turn to complete the database creation. Note: The Chinese "password" and "database" are the user's own needs to set.
2. Upload the contents of the WordPress folder directly to the server root, and then the browser accesses localhost or 127.0.0.1 the following interface appears
Click on "Start Now"
Fill in the database name, user name, password, database host (typically localhost), table prefix you just created. Write it yourself (it must make sense)
3. After clicking submit
4. After clicking to install
Site title is the name of their website (not the domain name OH), the user name is you install WordPress after the background user name, password is installed after the background user name password, e-mail fill
5. Click on Install WordPress, Duang of the success of a bit
6. Click After login
7. After landing, we went directly backstage.
The installation is now complete. Next, talk about how to install the theme.
WordPress (a) The construction of the WordPress environment