Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vlib/db/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Use `docker container rm some-mysql` to remove it completely, after it is stoppe

For Linux, you need to install `MySQL development` package and `pkg-config`.

For FreeBSD, you need to install the `mariadb118-client` package.

For OpenBSD, you need to install the `mariadb-client` package.

For Windows, install [the installer](https://dev.mysql.com/downloads/installer/) ,
Expand Down
2 changes: 2 additions & 0 deletions vlib/db/mysql/_cdefs_nix.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ $if $pkgconfig('mysqlclient') {
#pkgconfig mariadb
$if openbsd {
#include <mysql.h> # Please install the mariadb-client package for development headers
} $else $if freebsd {
#include <mysql.h> # Please install the mariadb118-client package for development headers
} $else {
#include <mysql.h> # Please install the libmariadb-dev development headers
}
Expand Down
Loading