Join Sheeri Cabral for an in-depth discussion in this video Connecting to a remote MySQL database, part of Understanding MariaDB for MySQL Users.
- View Offline
…The CONNECT storage engine was created to be similar to the Federated and…FederatedX storage engines.…The singular function of Federated and…FederatedX is to connect to remote versions of MySQL.…If you are currently using these tables, you know that you create a table with…the specified columns and then the storage engine and connection information.…The CONNECT storage engine is no different.…Let's try out an example.…I have a remote database on the service FreeSQLdatabase.com, but…you should use your own database.…
Let's see what my remote database looks like.…I'm going to use the MySQL command line to connect to a remote host with -h.…So the remote host is called sql3.freesqldatabase.com.…The username is sql348447, password is SECRET, and…then the database name is sql348447, same as the username.…Now we're connected to a remote database.…Let's check to see that we are in fact on a remote database by looking at…the variable called hostname.…
And in fact we are not on a local machine.…Let's see what tables we have in our remote system.…
- Why use dynamic columns?
- Creating, updating, and querying dynamic columns
- Installing the CONNECT storage engine
- Connecting to remote data
- Connecting to CSV, INI, and XML files
- Using PIVOT tables
- Accessing database metadata
- Working with the Cassandra storage engine