How to install phpMyAdmin and precautions _ PHP Tutorial

Source: Internet
Author: User
Tags mysql manual
Install phpMyAdmin. Many new users need to set up a MySQL User reasonably to implement the latter. they can only read and write the permitted databases. Wait until you have read the related sections in the MySQL manual. Many new users

To implement the latter, you need to properly set the MySQL User, which can only read/write the permitted databases. Wait until you have read the related sections in the MySQL manual.

Quick installation of phpMyAdmin

Remove the phpMyAdmin package to a directory.

Open config. inc. php3, modify $ Pipeline servers [1] ["host"] According to your environment, $ incluservers [1] ["user"] and $ incluservers [1] ["password"] values. You can see all the configurable variables listed in the configuration section under "allow" and modify other parameters as needed.

We recommend that you protect the directory after installing phpMyAdmin (unless on an enterprise Intranet ). For example, you can use a HTTP-AUTH (with a. htaccess file ).

Open the file in the browser: install the host domain name/installation directory/index. php3. PhpMyAdmin should display a welcome screen and your database.

PhpMyAdmin supports multiple languages. If you want to change to the Chinese version, modify require ("english. inc. php3") in config. inc. php3 to require ("chinese_gb.inc.php3 "). In this way, the interface is Chinese. Great!

Save config. inc. php3.

Install phpMyAdmin

Make sure that the phpMyAdmin directory is protected. No protection is provided by default! It should not be read by anyone, especially the search engine.

Although I add a "nofollow" command to each page, some search engines may not consider continuing to access the page links.

Imagine how AltaVista accessed a link named "Drop Dtabase. You can use http://www.apacheweek.com/features/userauthto fully understand the authentication certificate of apache. Another tutorial in http://deepthought.texsci.edu/protected_dirs.html

PHP3 should be configured as magic_quotes = on.


To implement the latter, you need to properly set the MySQL User, which can only read/write the permitted databases. Wait until you have read the related sections in the MySQL manual ....

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.