Brother I install Shuguang CMS to the virtual host is times Access denied for user ' root ' @ ' localhost '

Source: Internet
Author: User
I install Shuguang CMS to virtual host is times Access denied for user ' root ' @ ' localhost '
Shuguang CMS is based on thinkphp.
Install program to virtual host using installation program in install under project folder
Otherwise installation error
Access denied for user ' root ' @ ' localhost ' (using Password:yes)
I checked the configuration database configuration error
But I checked it over and over again. The database accounts and passwords in database.inc.php are all right.
I want to help solve the rookie problem.
------Optimal Solution--------------------
Configuration problem, no root user found
The previous use of the root user area login, but now change the administrator account, can not be re-login with the root
See if it's a cache problem
------Other Solutions--------------------
Log in to the database to perform a bit

Grant all on * * to ' root ' @ ' localhost '
------Other Solutions--------------------
Root user is also denied access, too magical, have changed root permissions?
------Other Solutions--------------------
I rented someone else's host without root privileges, only one database of managed accounts and passwords
Root permissions are only available to the host administrator



------Other Solutions--------------------
The program on its own machine is not a problem, its own machine PHP environment is built with Phpnow, with the root authority of MySQL
But to other people on the host does not have root privileges, and then own the administrator to use the account and password
The administrator's account number and password are used to install the program.
The program does not run and reports
The system has an error
You can choose [Retry] [back] or [go home]

[Error message]

Access denied for user ' root ' @ ' localhost ' (using Password:yes)
I don't even know where it went wrong.
Virtual host management system with the same creation

------Other Solutions--------------------
Can I log in to the database? or phpMyAdmin

If you can just go upstairs and execute the first floor, grant all on * * to ' root ' @ ' localhost '


If this command fails, then only the administrator of the space will be available to resolve the
------Other Solutions--------------------
thinkphp
------Other Solutions--------------------
I also met, delete runtime app, problem solving
  • Related Article

    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.