i want to migrate a mysql database to sql server. i have sql server 2008 and i have sql server migration assistant form mysql (SSMA) to do this.
when i connect SSMA to mysql connects well, but when i connect to SSMA to sql server tells me this:
Connection to SQL Server failed.
the connection to the server is set correctly, but there was an error in the login process. (provider: SSL Provider, error: 0 - La cadena de certificación fue emitida por una entidad en la que no se confía.)
the windows authentication not let me write the username and pass
but if i try to connect to sql server from the sql server 2008 management studio connects well.
why i can't to connect to sql server from SSMA??
thanks for responses.
Solved, the problem was that sql server not encrypt password, encripting password connects fine
Related
I have SQL Server 2017 Developer installed. I want to use the SQL Server Migration Assistant for MySQL to migrate a MySQL database into SQL Server. But I can't get the migration assistant to connect to the MySQL server. First of all, using MySQL Workbench I can connect to the server with no problem through this dialog box;
MySQL Workbench connection dialog box
Using the same service, (or server) name, port and user entered into the migration assistant dialog box for connecting to the MySQL server;
SQL Server Migration Assistant connection to MySQL Server dialog box
I get an error message saying,
Cconnection to MySQL failed. ERROR [HY000] [MySQL][ODBC 5.2(w) Driver]Unknown MySQL server host 'Mysql#127.0.0.1' (0)
I've tried selecting both the ANSI and unicode ODBC drivers, version 5.2 and 5.3. Nothing seems to work.
You need to remove "Mysql#" from the connection string. This isn't a necessary part of the hostname when connecting through SSMA.
I have a Linux server and a database server (MSSQL 2008) at another location. I use the MySQL ODBC connector to connect to the MS server, but the connection fails every time. I also changed the bind address of my MySQL server to my IP address.
I had SQl Sever 2008 R2 Express on my production server and i upgraded it to SQl Server 2008 Web Edition. Even since i upgraded my websites do not get connected to database. I was wondering what should be changing to connect to the databases. This is a Website in VS 2008.
This is the part of the code where i have the connection string.
connstring = "Data Source=198.57.59.70;Initial Catalog=Tracking;Integrated Security=SSPI;";
I get the error when connecting to database as "System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections."
Can someone suggest where i am doing wrong, Please!!
Thank you in advance!
I have a server that has SQL Server 2008 R2 installed but my application uses SQL Express 2008 R2 - do I need to install SQL Express as well? The error Im currently getting is:
A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: SQL
Network Interfaces, error: 26 - Error Locating Server/Instance
Specified)
You can create your database the SQL Server and connect with the correct connection string. You can not attach your Database files like in SQL Server express though.
There is no need to install SQL Server Express.
A common connection string to connect to SQL Server is:
Data Source=yourServer;Initial Catalog=yourDatabase;Integrated Security=SSPI;
Replace yourServer with the servername (in the form of Server\instance) and yourDatabase with the name of the database you wish to connect to.
The following connection string for SQL Server Express does not work on a standard SQL Server:
Server=yourServer;AttachDbFilename=c:\data\yourDatabase.mdf;Database=yourDatabase; Trusted_Connection=Yes;
I have create a SQL Azure database on the Azure portal, now I want to connect to it using SQL Server Management Studio. I've set my properties like this:
Server Type:Database Engine:
Server Name:[mycred].database.windows.net
Authentification: SQL Server Authentification
username: myusername
password: mypassword
But when I try to connecting with these properties I get an error:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)
(Microsoft SQL Server, Error: 53)
Whereas I have configure firewall on my SQL Azure database. How to solve this issue?
Your request has not left your machine that's why it is returning network error. There could be several issues and first start with SQL Server Management Studio. You must have SSMS R2 2008. Any non R2 version will not work.
Here is a list of test you would need to perform to troubleshoot the problem and apply solution:
http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-connectivity-troubleshooting-guide.aspx