发生SSL错误,无法建立与服务器的安全连接xcode

时间:2019-02-07 12:01:03

标签: ios xcode react-native

我正在用React Native开发一个项目。我正在使用https网址。但它不适用于iOS设备。我收到此错误:

library('RMySQL')

df=read.csv('C:/Users/my_user/Documents/file.csv', encoding = 'UTF-8', sep=';')

connection <- dbConnect(
    RMySQL::MySQL(),
    dbname = "db_name",
    host = "yyy.xxxxxxx.com",
    user = "vitor",
    password = "****"
)

dbWriteTable(connection, "table_name", df, append=TRUE, row.names=FALSE)

我还在plist中添加了An SSL error has occurred and a secure connection to the server cannot be made. 。但这不起作用。

这是plist屏幕截图。 enter image description here 请帮帮我。

谢谢。

0 个答案:

没有答案