Database package: Difference between revisions

From Octave
Jump to navigation Jump to search
(fixing a typo)
No edit summary
Line 16: Line 16:
* '''MariaDB''' / MySQL
* '''MariaDB''' / MySQL
** [https://gitlab.com/markuman/mex-mariadb mex-mariadb] - mex file extension for GNU/Octave to access MariaDB
** [https://gitlab.com/markuman/mex-mariadb mex-mariadb] - mex file extension for GNU/Octave to access MariaDB
==Installation==
Requires octave struct. In ubuntu/debian based systems this is handled with
apt install octave-struct
Next octave command line:
>> pkg install -forge database
Packages are compiled. Monitor process with top.
==Usage==
Load it before any usage:
>> pkg load database
===Connecting to a Database===
[[Category:Octave Forge]]

Revision as of 09:01, 23 April 2020

Octave Forge

Official GNU/Octave Forge Database package supports only Postgres

3rd Party

On github/gitlab are several open source projects which supports different open source database solutions for GNU/Octave.

  • sqlite
    • mex-sqlite3 – An extension for MATLAB® or GNU/octave to access sqlite3 databases
    • octave-sqlite - sqlite3 wrapper as an .oct file for GNU/Octave
  • redis
    • go-redis - mex file extension for GNU/Octave to access Redis
  • MariaDB / MySQL
    • mex-mariadb - mex file extension for GNU/Octave to access MariaDB

Installation

Requires octave struct. In ubuntu/debian based systems this is handled with

apt install octave-struct

Next octave command line:

>> pkg install -forge database

Packages are compiled. Monitor process with top.

Usage

Load it before any usage:

>> pkg load database

Connecting to a Database