The MySQL Native Connector installs a native MySQL database driver. It is faster, seamless integrated, easier to administrate and there is no need to install and setup a JDBC or ODBC driver separately. It was never easier to use MySQL databases in LibreOffice Base. This is for Windows operating systems and LibreOffice versions 4.0.0 and later. The files will be stored, by default, in: Program Files (x86)/MySQL/MySQL Connector J/ (assuming a 64-bit Windows OS) Remote Server Connectivity The following steps illustrate the use of the Database Wizard in LibreOffice Base for the first time after the JDBC driver has been tested successfully.
Connecting to MySQL from OpenOffice and LibreOffice using ODBC Driver for MySQL
The article describes how to use Apache OpenOffice and LibreOffice to access ODBC data sources using the respective driver. You can access MySQL data from Open Office Base or LibreOffice Base — desktop database management systems. Note that the Windows version of OpenOffice is 32-bit, and you may get the error “The specified DSN contains an architecture mismatch between the Driver and Application” when trying to access a data source through a 64-bit ODBC driver. To get rid of the error message, set up the 32-bit version of the driver.
To connect to an ODBC data source from OpenOffice or LibreOffice using our driver for MySQL, perform the steps below:
- Start OpenOffice or LibreOffice, click Database to open the Database Wizard.
- In the Database Wizard dialog box, click Connect to an existing database, select ODBC from the drop-down list, and click Next.
- Specify the name of the data source you want to connect to. You can either type the name of your data source into the field, e.g. ODBC Driver for MySQL, or you can click Browse, double-click the data source you need, and then click Next.
- If your database requires a user name, type it into the User name field. If you are connecting to a password protected database, check the Password required field. Alternatively, you can specify these parameters in the data source settings of your ODBC Driver for MySQL and leave these fields empty in Database Wizard.
- You can keep the default selection in this dialog box and click Finish.
- When the database opens, you will see the list of tables from your data source diplayed in OpenOffice or LibreOffice Base workspace. To view the data from a specific table, double-click the table name.
- To create an SQL query, click Queries in the Database pane, then click Create Query in SQL View…
Alternatively, you can launch the Database Wizard from OpenOffice or LibreOffice Calc, Writer or any other tool by choosing File > New > Database.
To test the connection to your data source, click Test Connection, input your credentials and click OK.
If you have entered valid credentials, you will see a success message. Click Next to proceed to the final step.
You will be prompted to give a name to your new database and select the directory where you want to store it.
Enter your query in the query text box and click Run Query (F5). The date will be fetched from the database and displayed in Open Office or LibreOffice, respectively.
Libreoffice Mysql Odbc Connector
Libreoffice Mysql Connector
|© 2015-2021 Devart. All Rights Reserved.||Request Support||ODBC Forum||Provide Feedback|