This error message indicates that your MySQL user 'yiyou_10260' does not have permission to access the 'yiyou_10260' database.
Here are some possible causes of this error and corresponding solutions:
Incorrect username or password: Please ensure that you are using the correct username and password. If you are unsure, try connecting to the database using another MySQL client (e.g., phpMyAdmin).
Incorrect database permissions have not been assigned: Please ensure that the MySQL user 'yiyou_10260' has the necessary permissions to access the 'yiyou_10260' database. You can grant these permissions using the GRANT command:
GRANT ALL PRIVILEGES ON yiyou_10260.* TO 'yiyou_10260'@'localhost';If you only need to grant certain permissions, replace ALL PRIVILEGES with the appropriate list of permissions.
Hostname mismatch: If your MySQL user 'yiyou_10260' can only be accessed from a specific host, ensure that you are using the correct hostname. For example, if you restrict the hostname for the MySQL user 'yiyou_10260' to 'example.com', you will be unable to access it from your local machine.
If you have tried the above solutions but the issue persists, please check whether your MySQL server is running properly and ensure that the MySQL user 'yiyou_10260' has the correct permissions.