在C#中获取MySQL服务器的所有实例 [英] Get All Instances of MySQL Servers in C#
本文介绍了在C#中获取MySQL服务器的所有实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何使用c#获取mysql的所有数据库服务器列表。我们可以列出MS-SQL Server的所有数据库服务器使用
DataTable dtSqlServers = SmoApplication.EnumAvailableSqlServers( true );
我想用MySQL做同样的事情。是否有某种方法可以列出它们?
解决方案
您可能会发现这有用: http://forums.mysql.com/read.php?38,565108,565342#msg-565342 [ ^ ]
Uros
How we can get list of all database servers of mysql using c#. We can list all database servers for MS-SQL Server using
DataTable dtSqlServers= SmoApplication.EnumAvailableSqlServers(true);
I want to do same thing with MySQL. Is there some way to list them or not ?
解决方案
You might found this helpful: http://forums.mysql.com/read.php?38,565108,565342#msg-565342[^]
Uros
这篇关于在C#中获取MySQL服务器的所有实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文