Install and configure mysql in php

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.