Phpmyadmin configuration method and installation tutorial

Source: Internet
Author: User
Tags mysql host

Let's take a look today.Phpmyadmin configuration tutorialIt can also be calledPhpmyadmin InstallationI won't talk about the installation. You can downloadPhpmyadminDecompress the package to your site directory. Here is a simple example.

Installation Directory:/admin/

Now, open the decompressed folder and find config. sample. inc. php. rename it config. inc. php. Then, open the file.

Find

$ Cfg ['pmaabsoluteuri '] = '';
$ Cfg ['eexectimelimmit '] =;

We set $ cfg ['pamabsolteuri] To your directory. My directory is/admin/, and $ cfg ['eexectimelimit '] to 10000.

$ Cfg ['pmaabsoluteuri '] ='/admin /''';
$ Cfg ['eexectimelimit '] = 10000;

Find $ cfg ['blowfish _ secret'] = '';

$ Cfg ['blowfish _ secret'] = 'cooker ';

Find $ cfg ['servers'] [$ I] ['host'] = ''// MySQL hostname or IP address

The connection to the mysql host can be either a host or an IP address.

$ Cfg ['servers'] [$ I] ['host'] = 'localhost'; // MySQL hostname or IP address

Next, find.

$ Cfg ['servers'] [$ I] ['auth _ type'] = ''; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
$ Cfg ['servers'] [$ I] ['user'] = ''; // MySQL user
$ Cfg ['servers'] [$ I] ['Password'] = '';

I will not talk much about the above three meanings. Let's look at my configuration.

$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker'; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
$ Cfg ['servers'] [$ I] ['user'] = 'p123456'; // your mysql user
$ Cfg ['servers'] [$ I] ['Password'] = ****** '; this is your mysql password.

Now, upload cofing. inc. php to the server.

 

1045 Access denied for user 'root' @ 'localhost' (using password: YES)

1045 Access denied for user 'root' @ 'localhost' (using password: YES)


The reason is:
YourPhpmyadminThe password is set, but your password and mysql server user name and password are not caused by me.

#1045-Access denied for user 'root' @ 'localhost' (using password: NO)

Please indicate the source for original reprinted on this site. www.111cn.cn

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.