如何在Mac OS X操作系统中连接远程SQL服务器?我真的不需要一个GUI,但它将是很好的颜色编码和结果集网格。我宁愿不用虚拟机。

是否有一个SQL客户端Mac OS X工作与MS SQL Server?


当前回答

我认为MySQL的Sequel Pro看起来很有趣。很难找到一种工具可以与所有这些数据库一起工作(特别是SQL Server 2005…大多数人使用SQL Server Management Studio,当然这只是Windows)。

其他回答

我使用Eclipse的数据库开发插件——像所有基于Java的SQL编辑器一样,它可以与任何类型4(即纯Java) JDBC驱动程序跨平台工作。对于基本的事情来说,它是可以的(主要的失败是它很难给予事务控制——auto-commit=true似乎总是设置)。

微软有一个不错的JDBC type 4驱动程序:http://www.microsoft.com/downloads/details.aspx?FamilyId=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en它可以用于Win/Mac/Lin/etc上的所有Java客户端/程序。

那些在Mac上挣扎于Java/JDBC的人大概是在尝试使用本机驱动程序而不是JDBC驱动程序——我已经将近10年没有使用过(或者实际上听说过)ODBC驱动程序桥了。

Ed: phpMyAdmin是MySQL,但询问者需要微软SQL服务器的东西。

我发现的大多数解决方案都涉及使用ODBC驱动程序和您使用的任何客户端应用程序。例如,Gorilla SQL声称能够做到这一点,尽管这个项目似乎已经被放弃了。

大多数好的解决方案要么使用远程桌面,要么使用VMware/Parallels。

基于java的Oracle SQL Developer有一个支持SQL Server的插件模块。我经常在我的Mac电脑上使用它。它也是免费的。

下面是如何安装SQL Server插件:

运行SQL Developer 进入这个菜单项:Oracle SQL Developer/Preferences/Database/Third-party JDBC Drivers 单击帮助。 它将有指向MySQL、SQL Server等JAR文件的指针。 SQL Server JAR文件可以在http://sourceforge.net/projects/jtds/files/上获得

When this question was asked there were very few tools out there were worth much. I also ended up using Fusion and a Windows client. I have tried just about everything for MAC and Linux and never found anything worthwhile. That included dbvisualizer, squirrel (particularly bad, even though the windows haters in my office swear by it), the oracle SQL developer and a bunch of others. Nothing compared to DBArtizan on Windows as far as I was concerned and I was prepared to use it with Fusion or VirtualBox. I don't use the MS product because it is only limited to MS SQL.

底线是没有免费的东西是值得的,大多数商业非视窗产品也是如此

However, now (March 2010) I believe there are two serious contenders and worthwhile versions for the MAC and Linux which have a low cost associated with them. The first one is Aqua Data Studio which costs about $450 per user, which is a barely acceptable, but cheap compared to DBArtizan and others with similar functionality (but MS only). The other is RazorSQL which only costs $69 per user. Aqua data studio is good, but a resource hog and basically pretty sluggish and has non essential features such as the ER diagram tool, which is pretty bad at that. The Razor is lightning fast and is only a 16meg download and has everything an SQL developer needs including a TSQL editor.

所以最大的赢家是RazorSQL,只要69美元,就物有所值。相信我,在等待了几年之后,我终于找到了一个便宜的非窗口DBartizan的替代品,我非常挑剔。

我喜欢SQLGrinder。

它是使用Cocoa构建的,因此它看起来更好,感觉更像一个Mac OS X应用程序,而不是这里提到的所有基于java的应用程序。

它使用JDBC驱动程序连接Microsoft SQL Server 2005、FrontBase、MySQL、OpenBase、Oracle、PostgreSQL和Sybase。

免费试用或59美元。