# MariaDB Command-line Client from MariaDB Server Version 10.3.12 (GPLv2)

| Binary               | URL                                                                                                                                                                  |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Linux RHEL 6 x86\_64 | [MariaDB-10.3.12-centos6-x86\_64-client.rpm](https://downloads.mariadb.com/MariaDB/mariadb-10.3.12/yum/rhel6-amd64/rpms/MariaDB-10.3.12-centos6-x86_64-client.rpm)   |
| Linux RHEL 7 x86\_64 | [MariaDB-10.3.12-centos73-x86\_64-client.rpm](https://downloads.mariadb.com/MariaDB/mariadb-10.3.12/yum/rhel7-amd64/rpms/MariaDB-10.3.12-centos73-x86_64-client.rpm) |
| Windows x86\_64      | [mariadb-10.3.12-winx64.msi](https://downloads.mariadb.com/MariaDB/mariadb-10.3.12/winx64-packages/mariadb-10.3.12-winx64.msi)                                       |

Source code: [mariadb-10.3.12.tar.gz](https://downloads.mariadb.com/MariaDB/mariadb-10.3.12/source/mariadb-10.3.12.tar.gz)

## Configuring the MariaDB Connector

The documentation can be found on the MariaDB website: <https://mariadb.com/kb/en/about-mariadb-connector-j/#usage-examples>

## Example of Creating a Table on MariaDB

```java
Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "username", "password");
Statement stmt = connection.createStatement();
stmt.executeUpdate("CREATE TABLE table1 (id INT NOT NULL PRIMARY KEY, colchar VARCHAR(20))");
stmt.close();
connection.close();
```

## Example of Calling an Existing Stored Procedure via MariaDB

```java
Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "username", "password");
Statement stmt = connection.createStatement();
stmt.executeUpdate("ECHO sp_name(parameter);");
stmt.close();
connection.close();
```

> **📝 Note**: The details of your host, port, credentials, etc. should be updated in the examples above.

***

Modified at: May 12, 2026

Source: [/db/v9.1/connect-to-singlestore/connect-with-mysql/mariadb-command-line-client-from-mariadb-server-version-10-3-12-gplv-2/](https://docs.singlestore.com/db/v9.1/connect-to-singlestore/connect-with-mysql/mariadb-command-line-client-from-mariadb-server-version-10-3-12-gplv-2/)

(An index of the documentation is available at /llms.txt)
