In the first two chapters, we learned how to install and configure php and apache. next we will learn how to install and configure mysql in the database. through this tutorial, I want php learners, you can build a php environment in windows.
In the first two chapters, we learned how to install and configure php and apache. next we will learn how to install and configure mysql in the database. through this tutorial, I want php learners, you can build a php environment in windows.
1. if you download the green version of mysql, directly extract the file to the specified installation directory (for example, the c root directory), and select "run" in the "Start" menu ", enter "cmd" to enter the "command prompt ".
2. enter the command mysql -- install at the command prompt and press enter to add mysql to the service.
3. enter the command: net start mysql at the command prompt, and press enter to enable the mysql service.
4. enter the command cd \ mysql \ bin at the command prompt and press enter to enter the mysql bin directory.
5. in the bin directory of mysql, enter the database username (root by default) and password (empty by default) to enter the mysql service and create your own database and table.