Home  >  Article  >  Database  >  How to install phpmyadmin in website space

How to install phpmyadmin in website space

藏色散人
藏色散人Original
2020-04-10 10:58:222386browse

How to install phpmyadmin in website space

How to install phpmyadmin in the website space?

How to install php tutorial myadmin on personal space

Of course you have mysql tutorial database tutorial. First download the latest version of phpmyadmin mysql manager. After decompression, you will get a phpmyadmin directory (you can rename it). Find the config.inc.php file in the directory, open it, find $cfg['pmaabsoluteuri'] and modify it.

Of course you have a mysql database.

First download the latest version of phpmyadmin mysql manager.

After decompression, you will get a phpmyadmin directory (you can change the name)

Find the config.inc.php file in the directory, open it

Find $cfg['pmaabsoluteuri']

Modify the URL of phpmyadmin that you will upload to the space

For example:

$cfg['pmaabsoluteuri'] = 'http://www.xxx.com/phpmyadmin/';

And the following

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

Use config for debugging in your own machine , if cookies are used online.

$cfg['servers'][$i]['user'] = 'root'; // mysql user(用户名,自己机里用root,在网上设你的ftp用户名)
$cfg['servers'][$i]['password'] = ''; // mysql password (ftp密码 自己机里不用设)
$cfg['servers'][$i]['only_db'] = ''; // if set to a db-name, only(你只有一个数据就设置一下)

There are also settings

$cfg['defaultlang'] = 'zh';
$cfg['blowfish_secret'] = '',输入mysql密码即可。此为绝密的短语密码

After the settings are completed, you can upload them to the Internet.

The above is the detailed content of How to install phpmyadmin in website space. 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