Mariadb-Connector: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „= Links = * https://mariadb.com/docs/server/connect/programming-languages/c/install/ = Installation C-Connector = <syntaxhighlight lang="bash"> apt install li…“)
 
 
Zeile 2: Zeile 2:
* https://mariadb.com/docs/server/connect/programming-languages/c/install/
* https://mariadb.com/docs/server/connect/programming-languages/c/install/


= Installation C-Connector =
= C-Connector =
== Installation ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
apt install libmariadb3 libmariadb-dev
apt install libmariadb3 libmariadb-dev
</syntaxhighlight>
== Dateien / Verzeichnisse ==
* /usr/include/mariadb/mysql.h
* /usr/lib/x86_64-linux-gnu/libmariadb.a
* /usr/lib/x86_64-linux-gnu/libmariadb.so
= C++-Connector =
== Installation ==
* Voraussetzung: C-Connector
* Go to the MariaDB Connector C++ download page: https://mariadb.com/downloads/?tab=connectors&group=connectors_dataaccess&product=C%2B%2B+connector
<syntaxhighlight lang="bash">
apt install libmysqlcppconn-dev
</syntaxhighlight>
</syntaxhighlight>

Aktuelle Version vom 19. Februar 2023, 08:11 Uhr

Links[Bearbeiten]

C-Connector[Bearbeiten]

Installation[Bearbeiten]

apt install libmariadb3 libmariadb-dev

Dateien / Verzeichnisse[Bearbeiten]

  • /usr/include/mariadb/mysql.h
  • /usr/lib/x86_64-linux-gnu/libmariadb.a
  • /usr/lib/x86_64-linux-gnu/libmariadb.so

C++-Connector[Bearbeiten]

Installation[Bearbeiten]

apt install libmysqlcppconn-dev