Unable to connect to any of the specified MySQL hosts when checking connection

前端 未结 4 1595
无人共我
无人共我 2020-12-20 07:53

I am trying to connect to Mysql database through vb.net However I run into the error:

Unable to connect to any of the specified MySQL hosts

4条回答
  •  情书的邮戳
    2020-12-20 08:23

    Try with this ConnectionString:

     MysqlConn.ConnectionString = "Server=localhost;Database=My_Mysql_Database;Uid=root;Pwd=root;"
    

提交回复
热议问题