Install phpmyadmin # 1045-Accessdeniedforuser 'root' @ 'localhost' on ubuntu'
Source: Internet
Author: User
Install phpmyadmin # 1045-Accessdeniedforuserroot @ localhost -- Linux Enterprise Application-Linux server application in ubuntu. For more information, see the following. Install phpmyadmin from ubuntu
Version 2.11.3
Phpmyadmin official website has the latest http://www.phpmyadmin.net
After installation, access http: // localhost/phpmyadmin
Logon: Use root to log on without a password. An error occurs.
#1045-Access denied for user 'root' @ 'localhost' (using password: NO)
Find/etc/phpmyadmin/htpasswd. setup
You can use admin to log on without a password. After logging on, you can see a database information_schema (17 ).
You do not have the permission to create a database using admin. Think about the password set for root during mysql installation. It turns out that the password has been changed.
Now I have logged on to the database as root, and all permissions are available. We can see 2 databases information_schema (17) and mysql (17 ).
Installed files
/Etc/phpmyadmin
/Etc/phpmyadmin/apache. conf
/Etc/phpmyadmin/config. footer. inc. php
/Etc/phpmyadmin/config. header. inc. php
/Etc/phpmyadmin/config. inc. php
/Etc/phpmyadmin/lighttpd. conf
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