Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9868 Discussions

How to install mariadb or MySQL on Edison?

MGutb
Novice
1,399 Views

Hello together,

I am new and I want to install a Database mariadb or MySQL on the Edison.

But I don´t know how ? Can someone explain me which packages I need

 

or is there any tutorial ?

Thx,

Matthias

2 Replies
MGutb
Novice
185 Views

I used this tutorial:http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html Edison Package Repo Configuration Instructions

changed the /etc/opkg/base-feeds.conf file

Then I installed mariadb with:

 

opkg install mariadb

After that I insert a microSD card and now I try to start the daemon with the parameters:

 

/usr/bin/mysqld_safe --datadir=/media/sdcard/mariadb/

But I always get after a few seconds at the end the message that:

 

mysql_safe mysqld prom pid file /var/lib/mysql/mysqld.pid ended

What does it meas ?

Carlos_M_Intel
Employee
185 Views

Hi Matthias,

Did you also run opkg update? Did you have error messages while installing mariadb or it was a successful install?

Let's try with: mysqld --datadir=/home/root

Regards,

Charlie

Reply