当前位置:Gxlcms > 数据库问题 > 连接本地数据库异常(模拟器)

连接本地数据库异常(模拟器)

时间:2021-07-01 10:21:17 帮助过:26人阅读

链接:https://blog.csdn.net/x_Danding/article/details/78586849?utm_source=blogxgwz1

1,分情况:用的不是原生的模拟器。只有原生模拟器才是10.0.2.2

2,直接用模拟器的IP地址,用ipconfig查看ipv4,,,

3,127.0.0.1/localhost   代表的是模拟器,连接不到数据库的!!!

连接本地数据库异常(模拟器)

标签:blog   查看   article   csdn   tps   连接   get   config   ipconfig   

人气教程排行