Client Tool For Connecting MemSQL

Hi - Is there is SQL Developer kind of tool to connect MemSQL database to easy access tables and see results. One option is Studio but that is a browser based and if any other such tool available please suggest and how to install and connect it to MemSQL. Please advice.

Regards
Suvendu

Hi Suvendu,

Most SQL IDEs that support MySQL will run against MemSQL. I know lots of folks use MySQL Workbrench or SequelPro.

-Adam

Thanks Adam for the update. While trying to connect, I am getting below error. Is there something that I need to update in MemSQL side?

Internal connection fatal error. Error state: 18 (System.Data)

Program Location:
at System.Data.SqlClient.TdsParserStateObject.TryProcessHeader()
at System.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlAuthenticationMethod authType, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, Boolean isFirstTransparentAttempt, SqlAuthenticationMethod authType, Boolean disableTnir, SqlAuthenticationProviderManager sqlAuthProviderManager)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover, Boolean isFirstTransparentAttempt, Boolean disableTnir)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds…ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

-Suvendu

Which IDE are you trying out? This looks like output from SQL Server Management studio? Does it have a way of connecting to MySQL? It will need that to connect to MemSQL.

This looks like a C# error. I’d suggest instead of using NuGet Gallery | System.Data.SqlClient 4.8.5 (which is only compatible with SQL Server) that you flip to NuGet Gallery | MySql.Data 8.1.0 (which is compatible with MemSQL). If you need Entity Framework support, pull in MySql.Data.Entity. These MySQL libraries have versions for .NET Framework and .NET Core.

MemSQL Studio is great, as it has some neat visual explain / PROFILE output which I doubt 3rd party vendors can match.

But i think the consensus should be collaboration… One vendor which has shined is Aquafold (now part of IDERA). Their version works on windows and linux and has some nifty javascript hooks which can be very useful in the current needs of automation. Unfortunately, they don’t have a MemSQL native hook (so we have to go through their mysql native interface or the mariadb generic jdbc for GSSAPI/kerberos native SSO). It will be amazing if MemSQL native support would be available in Aqua data studio 20.5.