Fix Excel 2016 for Mac SQL Server ODBC Connection Errors
Question details
The user needs to troubleshoot an Excel 2016 for Mac ODBC connection to SQL Server that fails even though the server works from Windows.

- Product
- Microsoft Excel 2016 for Mac
- Device & OS
- macOS
- Scenario
- Importing SQL Server data into Excel for Mac through an ODBC query.
- Observed behavior
- The connection reports login failures or HY000 errors, while a connection to the same server works from Windows.
Gather the server name, database name, port, authentication method, ODBC driver version, and exact error message. Ask the database administrator to confirm the expected settings, and remove passwords from any diagnostic information you share.
Check SQL Server authentication and account access
Use these checks when the connection reports a login failure or Windows and Mac use different authentication methods.
A successful Windows connection may use Windows authentication and does not necessarily confirm that SQL Server authentication is enabled or that the Mac driver can use the same credentials.
Open the ODBC data source or connection settings used by the Excel query and verify the server name, database, authentication method, and username. Reenter the password if appropriate.
Ask a SQL Server administrator to open SQL Server Management Studio, right-click the server, and select Properties > Security. Confirm that the configured server authentication mode supports the account type being used.
Ask the administrator to check the login under Security > Logins in SQL Server Management Studio and confirm that it is enabled and has access to the target database.
Return to the existing query in Excel and refresh it or reconnect using the verified settings. Record the full error message if the connection still fails.

Verify the Mac ODBC driver and network connection
Use this solution for HY000 errors or when the server cannot be reached from the Mac.
Request targeted help in a SQL Server data access forum
Use this option if the error persists after checking authentication, driver, and network settings.
Work with Excel Files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing spreadsheet files. It supports common Microsoft Office formats to help you move existing files into your workflow. It does not fix Excel for Mac ODBC connection errors.

Frequently Asked Questions
Why does the SQL Server connection work in Windows but fail on my Mac?
The Windows connection may use a different driver, connection string, or Windows authentication. Compare those settings with the Mac ODBC data source and ask your administrator which authentication method is supported.
What does an HY000 error mean?
HY000 is a general ODBC error code, not a diagnosis by itself. Check the complete driver message, then verify the driver, server name, port, authentication settings, and network access.
How can I check whether my Mac can reach the SQL Server port?
In macOS Terminal, run `nc -vz server-name port` using the host and port provided by your administrator. A successful test shows that the port is reachable, but it does not prove that authentication will succeed.
Where can I check SQL Server authentication mode?
A server administrator can open SQL Server Management Studio, right-click the server, and select Properties > Security. The configured mode determines whether SQL Server logins are supported.




