[英]# laravel connect localhost project with remote database
major reason for sqlstate hy000 2002 error is the incorrect database settings in the configuration file. sqlstate hy000 2002 错误的主要原因是配置文件中的数据库设置不正确。 First, connect to the database using softwares such as Heidisql Or Navicat Or Phpmyadmin and etc. If it fails to connect, so the problem is with the database connection configs首先使用Heidisql或Navicat或Phpmyadmin等软件连接数据库,如果连接失败,则是数据库连接配置的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.