各製品の資料を入手。
詳細はこちら →Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData ODBC Driver for MariaDB, you gain access to live MariaDB データ within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve and update MariaDB データ. This article will walk through connecting to MariaDB using the Data Explorer.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
接続には、MariaDB サーバーのServer およびPort プロパティを設定します。IntegratedSecurity をFALSE に設定する場合、User およびPassword プロパティが必要になります。Database は設定すればデータベースの指定が可能です。設定しない場合には全データベースが使えます。
You can create a simple application for displaying MariaDB データ by utilizing the CData FireDAC Components for MariaDB and a new VCL Forms Application:
Create a new VCL Forms application and drag a table (for example: Orders) onto the form.
Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).
Arrange the TStringGrid on the form and run the application to see the Orders data.
Below you can find other articles for using the CData ODBC Driver with RAD Studio, Delphi, and C++ Builder.