Install mariaDB and mysql headers in a Yocto Image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Install mariaDB and mysql headers in a Yocto Image

2,167 Views
slopez
Contributor II

Hi, all.

I'm trying to install the mariadb server and the headers/library for develop an application in c using bitbake in Yocto.

I add the follows lines in muy build/conf/local.conf

IMAGE_INSTALL_APPEND = " mariadb libmysqlclient-dev"

EXTRA_IMAGE_FEATURES += "dev-pkgs tools-sdk"

and create the image with bitbake core-image-minimal

The process is ok, and a .wic file is created, no error is showed in the process, however, when I run the image in my system, I can't see neither the mariadb process nor any library on my /usr/include.

can anyone help me?

Regards.

Labels (1)
0 Kudos
1 Reply

2,048 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Santiago López Pina,

I am not familiar with MariaDB as it’s not part of the BSP releases. Have you tried the MariaDB project documentation?

https://mariadb.com/kb/en/starting-and-stopping-mariadb/

Changes are you would need to start the process manually after adding the recipe to your image.

My apologies for the inconvenience!

Regards,

0 Kudos