search
Homephp教程php手册快速配置PHPMyAdmin方法

快速配置PHPMyAdmin方法

Jun 13, 2016 pm 12:29 PM
phpmyadmingenerallydownloadInstallstartfastusmethodNowofconductConfiguration


    那么我们现在开始进行安装配置:

    1.一般网上下载到的PHPMyAdmin是一个压缩包,我们将其释放到htdocs目录中,例如htdocs\phpmyadmin。

    2.打开phpmyadmin目录,在此目录下是否有config.sample.inc.php文件,如果存在,那么将其改名为config.inc.php。(根据版本不同,有可能直接就有config.inc.php文件,那就无需改名,也有可能根本就没有config.sample.inc.php或者config.inc.php,那我们就到phpmyadmin\libraries目录下将config.default.php复制到phpmyadmin目录下并改名为config.inc.php)。

    3.打开config.inc.php文件(可以用写字板),找到$cfg['blowfish_secret'] = '';与$cfg['Servers'][$i]['auth_type'] = 'cookie';,如果$cfg['Servers'][$i]['auth_type']的值就像前面看到的那样为cookie的话,那么我们必须在$cfg['blowfish_secret'] = ''的引号中任意写入一串字符,大家可以把它理解为一个身份验证码。比如$cfg['blowfish_secret'] = 'sunec'。存盘退出。

    至此,phpmyadmin的安装配置工作就结束了,进入浏览器,在地址栏输入http://localhost/phpmyadmin/main.php,(这里的路径是根据先前你将phpmyadmin解压在htdocs的目录名决定的),顺利的话,页面上应该出现让你输入用户名密码的画面了,输入用户名密码(Mysql的用户名密码),随即进入phpmyadmin的主界面。至于使用方法~暂时不在这里展开,大家可以自己先摸索一下~

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)