Home  >  Article  >  Database  >  How to enter Dreamweaver phpmyadmin

How to enter Dreamweaver phpmyadmin

藏色散人
藏色散人Original
2020-04-09 11:25:502923browse

How to enter Dreamweaver phpmyadmin

梦WeavingphpmyadminHow to enter?

Installation and Configuration

1. The official download site http://www.phpmyadmin.net/The latest version is phpMyAdmin 3.2.0.1.

The website provides different program compression methods for us to download. Here I choose the bzip2 method to download (because this kind of file is smaller in size, other formats can also be downloaded).

Next we start setting up phpmyadmin.

2. Get a directory after decompression, enter the \libraries directory in the relevant directory, find the config.default.php file, copy it to the upper directory, and name it config.inc.php;

In config.inc.php

Find $cfg['PmaAbsoluteUri']

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

For example: $cfg['PmaAbsoluteUri'] = 'http://ip/phpmyadmin/'; or $cfg['PmaAbsoluteUri'] = 'http://ip:8899' (write the absolute URL to access phpMyAdmin)

There are also these changes:

  $cfg['Servers'][$i]['host'] = 'localhost';(通常用默认,也有例外)
  $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?

Using cookies. Because it is used on the Internet, select cookie

 $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
  $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed自己机里不用设置)
  注:$cfg['blowfish_secret'] = '';

here. If you use this machine, you do not need to set it, but if you use the network, you need to set it as a cookie:

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

Settings are complete.

3. Open IE and enter http://ip/phpmyadmin/ (of course, use that URL if your settings are different.). After entering the user name and password, use phpmyadmin to browse the corresponding mysql database;

If you set $cfg['Servers'][$i]['auth_type'] = 'cookie'; then the display will ask for an account number.

4. $cfg['DefaultLang'] = 'zh'; (Here is the language selection, zh represents Simplified Chinese)

The above is the detailed content of How to enter Dreamweaver phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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