When I install shuguang cms to the VM, the Accessdeniedforuser 'root' @ 'localhost' is reported'

Source: Internet
Author: User
When I Install shuguang cms to a VM, the following error occurs: Accessdeniedforuser 'root' @ 'localhost' Sugon cms is an installation program based on thinkphp. installation in Install under the project folder is required when it arrives at the VM. otherwise, the installation error Accessdeniedforuser 'root' @ 'loc. when I install the shuguang cms to the VM, Access denied for user 'root' @ 'localhost' is reported'
Sugon cms is based on thinkphp
When installing programs to a VM, you need to use the installation programs in Install under the project folder.
Otherwise, the installation fails.
Access denied for user 'root' @ 'localhost' (using password: YES)
An error occurred while checking the database configuration.
However, I checked the database account and password in database. inc. php all over and over again.
Hope to help solve Cainiao problems

------ Solution --------------------
The root user is not found due to configuration issues.
It proves that the root user area was used for login, but now the administrator account has been changed, and the root user cannot be used for login again.
Check whether there is a cache problem.

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.