SQLSTATE[HY000] [1045] Access denied for user 'bdm6439647_db'@'39.106.65.36' (using password: YES)
时间: 2023-09-25 17:16:53 浏览: 106
这个问题是由于连接数据库的用户名和密码不正确所导致的。引用提到,可以检查配置文件中的数据库用户名和密码是否与.env文件中的一致。如果不一致,需要将其修改为正确的用户名和密码。另外,引用中提到,在配置wnmp环境时,需要确保phpmyadmin数据库的版本没有超过7.34,否则可能会出现报错。可以尝试降低phpmyadmin的版本来解决问题。引用中提到了另一个与SQL错误相关的问题,即Lock wait timeout exceeded。这个错误可能是由于数据库中某个操作长时间占用资源导致的,可以尝试增加等待超时时间来解决。总之,检查数据库连接的用户名和密码是否正确,并确保相关软件版本适配,可以解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Laravel项目中出现【SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘%’ (using password: yes...](https://blog.csdn.net/u012944984/article/details/114260065)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [tp6的页面出现SQLSTATE[HY000] [1045] Access denied for user ‘db_user‘@‘localhost‘ (using password...](https://blog.csdn.net/CSDNDAN/article/details/122236400)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [解决SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded_runtimeerror怎么修复](https://download.csdn.net/download/lj_70596/14047317)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文