Connecting to remote MySQL server in Altova DatabaseSpy - mysql

I'm trying to use Altova DatabaseSpy to connect to my remote MySQL server as a data source. I'm getting an error though
Here are the menus I'm going through:
I'm using the same port/user/password as when I connect with Django, but it's not working. I also tried using ApexSQL and can't get that to connect either.

You need to use the ODBC driver for MySQL, not Microsoft SQL Server

Related

Errors in SQL connection using PowerShell [duplicate]

The exception says that there is a network related problem, or that the SQL server does not allow remote access, none of those are true.
Can it be that I'm trying to connect a MySQL server, and not MS SQL?
Thanks
It is because the System.Data.SqlClient namespace is designed for Microsoft SQL Server, to connect to MySQL you will need to download and reference the MySQL .NET Connector http://dev.mysql.com/downloads/connector/net/. You will then use the System.Data.MySqlClient namespace. Hope this helps.

ZKTime Web cannot connect to MySQL

I installed Xampp and lauchd the Apache and MySQL services. After that, while installing the ZKTIME + WEB 2.0 and configuring the server to connect to MySQL DB, it says Unknown Error
Is there a way to fix this?
If you are connecting to OLD version DB then please note that Old and New version DB schemas are different. I am getting same error.
If you try to connect after installation through WDMS server Management. Connection will be made but the WEB portal won't work because of schema difference.

Visual Studio Code mssql extention: SQL Server (mssql) - Unable to connect to server

I'm trying for the first time to get my project to run in Visual Studio Code. This includes a MySQL database. So I've installed the SQL Server (mssql) extension version 1.7.1. I follow the instructions here: https://learn.microsoft.com/en-us/sql/visual-studio-code/sql-server-develop-use-vscode?view=sql-server-ver15
I get to the section "Connect to SQL Server" and enter:
servername: localhost
db name: c3
Authentication type: Integrated
At the end of the section it should connect with the server but instead I get two errors:
mssql: Error "Unable to connect using the connection information
provided. Retry profile creation?"
mssql: Error 2: 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)
Does anyone see what is going wrong here?
I've re-installed the extension but with the same result.
A MySQL db and Microsoft SQL Server db are two different things.
It seems that there's no SQL Server installed? You might install the free SQL Server Express Version, create the database in there and then connect from Visual Studio Code.
You have to install the database server yourself as VS Code is just a client. You might also use somekind of hosted offers (many webhosters offer a mysql server with self service installation, or use a cloud based database server). Yout can also use a local database (e.g. SqlLite) which is file based and doesn't need a special installation.
You should do the following
install SQL server in your machine and create Database here
Create a login and a database user here
If you are Using VS code install SQL Server (mssql) open new
connection, follow the prompts to specify the properties for the new
connection profile
If you want to login to your server to make sure of your data
sqlcmd -S localhost -U SA -P '<YourPassword>'

Ms SQL OBDC Driver can't connect to MySQL Server

I set an OBDC Connector on my Microsoft SQL server to set up a linked server to a MySQL database. The driver worked fine, and has always worked, but just recently we upgraded the web server to an SSL connection and everything goes through HTTPS. Since then the OBDC driver has been unable to connect at all. Any help or advice on how to deal with this would be great, thank you.
Turned out the solution was using an IP address to connect to the server instead of the domain name. I was using sql.example.com to connect to the server, but when I changed it to the actual ip ex: 192.168.1.254 it then started working oddly

Setup a linked server connection from Microsoft SQL Server Management Studio to a MySQL Amazon Web Services MySQL RDS?

I want to add a MySQL instances that is running as a RDS service through Amazon Web Services as a Linked Server in Microsoft SQL Server Management Studio.
Does anyone know of any information on how I can set this up?
What I want to be able to do is query data from my MySQL server from the local Micorsoft SQL server and then combine the data into other queries.
SELECT *
FROM OPENQUERY(MySQL_Link, 'SELECT *
FROM users
WHERE name = 'test')
Do you already have the ODBC connection set up to connect to the instance?
Unable to connect to remote mysql server using unixodbc, libmyodbc
I would think that once you have that working, you would be able to use the same process for creating a linked server to MySQL
I hope this is helpful.