Home > Database > Mysql Tutorial > Learning the MySQL visual management tool phpMyAdmin

Learning the MySQL visual management tool phpMyAdmin

黄舟
Release: 2017-08-01 11:12:32
Original
4594 people have browsed it

We have learned how to use mysql in a windows environment, but there is still a problem. It is often inconvenient for us to use the cmd command window to operate mysql. Is there a visual and easy-to-operate tool? The answer is yes, phpMyAdmin is one of them. This article introduces how to use phpMyAdmin to operate mysql. I hope it will be helpful to students in need.

1. Use the search engine to search or download the latest version of phpMyAdmin from the phpMyAdmin official website. Please note that we usually download code files from the official website (different from .exe which can be installed directly). Such files include One benefit: Just copy it directly to the corresponding folder after downloading:

Learning the MySQL visual management tool phpMyAdmin

2. Rename the decompressed file to phpMyAdmin and copy it to the first place we learn PHP In the Apache24\htdocs\ directory created in the lesson:

Learning the MySQL visual management tool phpMyAdmin

#3. Open the config.default.php file in the Apache24\htdocs\phpMyAdmin\libraries directory and modify the mysql user name Or password (this is described in the second lesson of PHP learning):

Learning the MySQL visual management tool phpMyAdmin

Learning the MySQL visual management tool phpMyAdmin

4. Open the configuration file php in the php directory. ini, modify the following parameters:

(1) Open the required expansion file (";" is a comment, remove it to open it);

(2) Set the expansion file access directory (very important , otherwise the corresponding expansion file cannot be found);

The following figure shows one of the errors when the extension is not enabled:

Learning the MySQL visual management tool phpMyAdmin

Learning the MySQL visual management tool phpMyAdmin

5. Restart apache, enter "http://localhost/phpMyAdmin/index.php" in the browser, enter the user name and password, and you can log in:

Learning the MySQL visual management tool phpMyAdmin

Learning the MySQL visual management tool phpMyAdmin

6. In this way, we can operate the database (table) more efficiently and conveniently. Start your own mysql journey, ( ̄▽ ̄)"

Notes

You need to restart apache after modifying php.ini

The above is the detailed content of Learning the MySQL visual management tool phpMyAdmin. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template