Jieqi cms prompts Access Denied For User(using Password: YES)

888u

Last update at :2024-04-06,Edit by888u

The first situation

Jieqi prompts the error as follows:

Error reason: Can not connect to database!
error: Access denied for user ‘root’@’localhost’ (using password: YES)
Please go back and correct it

As shown below:

This is considered a small BUG of the Jieqi program. It usually occurs when modifying website information.

Prevention methods: as shown below

When modifying the website information (such as filling in the website domain name and website title), it is usually this page "System Management -> System Definition". If you can't think of the error mentioned in the question, you need to modify it every time. When entering any information on the page, refill the four items "database server", "database user name", "database password", and "database name". Among them, "database server" generally only fills in localhost, and the remaining three items must be based on Fill it in according to the actual situation, and fill in the password again. Do not leave it blank.

If you accidentally forget to fill it in and the website fails to open due to an error, you need to modify the website's configuration file to fix it. Modify the database information in /configs/define.php. If you open it directly on the server, do not open it with Notepad. It will be very messy. Open it with WordPad, and the format will be much clearer. Then modify the following positions (the information on the picture is demonstration information, do not copy it):

Then save and refresh the website to see if it opens normally.

The second situation

There is another possibility that the MySql service has been stopped. The error message is similar, but there is still a slight difference, as shown below:

In this case, you only need to manually start the MySql service. The starting method is "Start" - "All Programs" - "Management Tools" - "Services" - "Find the MySql item and see if the status is stopped." If it is stopped, then start.

This operation takes effect immediately. If the error persists, there is another problem.

Recommended site search: Korean proxy server, overseas domain name registration, purchase of registered domain name, check IP detailed address, Alibaba cloud server, Hong Kong vps, mainland China registration-free space, website virtual host, cancellation registration, free domain name registration, < /p>

Jieqi cms prompts Access Denied For User(using Password: YES)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码