phpMyAdmin Installation Method

Source: Internet
Author: User
Tags config file copy file size mysql manual php file mysql database phpmyadmin

phpMyAdmin

phpMyAdmin is a database management tool for MySQL based on PHP, web-base architecture on the Web site host.

You can manage the entire MySQL server (requiring superuser), or you can manage a single database. To implement the latter, you will need to properly set up the MySQL user, who can only read/write to the allowed database. That's until you've read the relevant parts of the MySQL manual.

Installation and Configuration

1, the official download site http://www.phpmyadmin.net/Currently the latest version is phpMyAdmin 3.0.0-rc1.

The site provides a different program compression for us to download, here I choose the bzip2 way to download (because this file size smaller, the other format can also).

Here we start to set up the phpMyAdmin.

2, after decompression to get a directory, into the relevant directory of the Libraries directory, find config.default.php file copy to the superior directory, and named config.inc.php;

In the config.inc.php

Find $cfg [' Pmaabsoluteuri ']

Modify the URL of the phpMyAdmin that you will use to access the virtual machine user

such as: $cfg [' pmaabsoluteuri '] = ' http://ip/phpmyadmin/'; or $cfg[' pmaabsoluteuri '] = ' http://ip:8899 ' (write out the absolute URL of the access phpMyAdmin)

There are also these changes in place:

$cfg [' Servers '] [$i] [' host '] = ' localhost ';(usually with default, with exceptions)

$cfg [' Servers '] [$i] [' auth_type '] = ' cookie '; authentication method (config, HTTP or cookie based)?

with cookies. Because it is used on the network, so select cookies here

$cfg [' Servers '] [$i] [' user '] = ' root '; MySQL User

$cfg [' Servers '] [$i] [' password '] = '; MySQL password (only needed not set in your own machine)

Note: $cfg [' blowfish_secret '] = ';

This machine does not need to be set, but the network needs to be set to cookies:

$cfg [' blowfish_secret '] = ' cookie ';

Setup is complete.

3, open IE, input http://ip/phpmyadmin/(of course you set a different use of that Web site.) , enter user name and password, use phpMyAdmin to browse the corresponding MySQL database;

If set $cfg[' Servers ' [$i] [' auth_type '] = ' cookie '; So the display will require an account entry.

4, $cfg [' defaultlang '] = ' en '; (This is the choice of language, en represents the meaning of Simplified Chinese)

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.