Home > Article > Backend Development > Introduction to phpmyadmin
What is phpMyAdmin?
phpMyAdmin is one of the most widely used MySQL graphical management tools. It is developed using PHP. MySQL client software based on B/S mode. This tool is a cross-platform management program based on the Web and supports Simplified Chinese. Users can download the latest version from the official website.
phpMyAdmin provides Web developers with a graphical database operation interface similar to Access and SQL Server. Through this management tool, you can perform various operations on MySQL, how to create databases, data tables and generate MySQL databases. Script files, etc. (Recommended learning: PHP programming from entry to proficiency)
Functional features
phpMyAdmin is a software tool written in PHP that can be accessed through the web way to control and operate the MySQL database.
Through phpMyAdmin, you can completely operate the database, such as creating, copying and deleting data, etc. Managing MySQL databases becomes quite simple if you use the right tools. Using the MySQL command line method requires very familiarity with MySQL knowledge, and the same is true for the SQL language. Not only that, if the database has a large number of accesses, it will be quite difficult to read the data in the list.
There are currently many GUI MySQL client programs, the most outstanding of which is the Web-based phpMyAdmin tool. This is a PHP-based tool for the MySQL database frontend.
The disadvantage of PhpMyAdmin is that it must be installed on the web server, so without appropriate access rights, other users may compromise the SQL data.
Use
phpMyAdmin is a MySQL database management tool based on PHP and structured in Web-Base mode on the website host.
Can manage the entire MySQL server (requires super user) or a single database. In order to achieve the latter, you will need to set up the MySQL user appropriately so that he can only read/write to allowed databases.
Whether it is a Windows operating system or a Linux operating system, the method of using the phpMyAdmin graphical management tool is the same.
Operation database
Enter: localhost/phpMyAdmin/ in the address bar of the browser and press Enter to enter the main interface of phpMyAdmin. Next, you can operate the MySQL database.
Create database
In the main interface of phpMyAdmin, you can see the drop-down box of "Language-languange", we can select " Chinese-Chinese simplified" option, and then there is a "Server connection proofreading". We usually choose the utf8_general_ci simplified Chinese encoding format to prevent garbled characters.
When the above settings are completed, let meStart creating a database, click on the database in the upper left corner;
Then enter your database name in the text box, ours here is "php.cn", although we have This encoding format has been set, but just in case, we can select "utf8_general_ci" here again, then click the Create button and you can see the database you created in the left column.
The above is the detailed content of Introduction to phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!