Skip to main content
NetApp Knowledge Base

SCSQL unable to discover SQL instance

Views:
229
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Plugin for SQL (SCSQL)

Issue

  • The SnapCenter Resources pane lists a SQL instance with a red padlock.
  • Selecting the instance shows a informational message, "The Microsoft SQL server or Windows credentials are necessary to unlock the selected instance. Click Refresh Resources to run a discovery with the associated Auth.".
  • Configuring SnapCenter to use the desired account and refreshing resources for the instance still shows the same red padlock and informational message.

SQL instance credentials.png

  • The SCSQL plugin log (SmSql_xxx) for the SQL discovery shows the following error:
2023-08-08T17:19:47.6446850+02:00 DEBUG SmSql_450726 PID=[3576] TID=[17] Connecting to SQL Server: [<SQL INSTANCE>]
2023-08-08T17:19:48.3634696+02:00 ERROR SmSql_450726 PID=[3576] TID=[10] ConnectionFailureException: Failed to connect to server <SQL INSTANCE>. Login failed for user '<USER ACCOUNT>'.
2023-08-08T17:19:48.3634696+02:00 ERROR SmSql_450726 PID=[3576] TID=[10] ErrorCode (10010), ErrorMessage (The user '<USER ACCOUNT>' does not have required permission to connect to the SQL instance '<SQL INSTANCE>'. Error: Login failed for user '<USER ACCOUNT>'.)
2023-08-08T17:19:48.3634696+02:00 ERROR SmSql_450726 PID=[3576] TID=[10] The user '<USER ACCOUNT>' does not have required permission to connect to the SQL instance '<SQL INSTANCE>'. Error: Login failed for user '<USER ACCOUNT>'.
2023-08-08T17:19:48.3634696+02:00 ERROR SmSql_450726 PID=[3576] TID=[10] Failed to enumerate SQL Server instance {<SQL INSTANCE>}

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.