且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何远程连接到我的SQL Server(使用IP地址)

更新时间:2023-01-04 22:17:48

您好,

正如您已声明要使用MySQL服务器一样,请尝试使用以下格式的连接字符串:

Hi there,

As you have stated that you''re to using MySQL server, use try using this format of connection string:

ConnectionString="server=192.168.1.1;database=test;uid=test;password=test;pooling=false;";


将"192.168.1.1"替换为您的实际MySQL服务器IP地址.

希望这会有所帮助.

祝您编码愉快!


Replace "192.168.1.1" with your actual MySQL server IP address.

Hope this helps.

Happy Coding!


我希望会有所帮助.