Ivo
Ivo

Reputation: 307

SA default password SQL Server on Linux

I installed SQL Server 2017 on Linux on a CentOS 7 derivate. Now I want to login with the command: "sqlcmd -S 172.0.0.1 -U SA". But I never set up a password. How am I able to login to the SQL Server? Root password is also not working. Could it be that the problem is somewhere earlier?

I tried as well to connect with "root", "sa" and the root password, also with Blank password and "Password123", according to old default passwords.

sqlcmd -S 127.0.0.1 -U sa

I get the following error:

Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout expired. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : TCP Provider: Error code 0x2749. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : A network-related or instance-specific error hasile establishing a connection to SQL Server. Server is not found or not accessible. Check if instance nam and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.

Upvotes: 0

Views: 2729

Answers (0)

Related Questions