gpt4 book ai didi

c# - 如何在 "Add Connection Window"给MySql数据库端口号

转载 作者:行者123 更新时间:2023-11-29 06:55:13 25 4
gpt4 key购买 nike

我的数据库服务器中有两个版本的 MySql。其中一个低于5.0,另一个是5.2。旧的看起来是 3306 端口,新的看起来是 3307 端口。我想在我的 .net 项目中使用新的。当我尝试将服务器的 IP 地址提供给“添加连接”窗口时,它看起来是 3306 端口并显示“Connector/Net 不再支持 5.0 之前的服务器版本”。我想等我能给出端口号就解决了。

enter image description here

最佳答案

来自docs

You can also set the port to connect with the MySQL server by pressing the Advanced button.

关于c# - 如何在 "Add Connection Window"给MySql数据库端口号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13137986/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com