Deploy Mysql server on Raspberry Pi3 (RPI3) via Pantahub

Note:Pantahub is the only place where Linux firmware can be shared and deployed for any device, You can signup @pantahub here:

Make your RPI3 device ready to deploy Mysql by following 6 Steps

Step 1: Burn the RPI3 initial stable image into your sd card.

a) Download RPI3 image

Click to download

b) unxz the device image

Run $ unxz rpi3_initial_stable.img.xz

c) Burn image into sd card using Raspberry Pi Imager 1.2

Step 2: Boot your RPI3

a) Insert your sd card and supply the power

Step 3: Singup @pantahub here

Step 4: Download & Install a CLI tool “pvr”

Note: pvr is a CLI tool which can be used to interact with your device through pantahub platform. Note: Using pvr you can share your firmware and projects as simple as with a git tree: Note: Move the pvr binary to your bin folder after download.

Linux(AMD64): Download Linux(ARM32v6): Download Darwin(AMD64): Download

pvr clone; pvr commit; pvr post

To install from github source code:

$ go get
$ go build -o ~/bin/pvr

Note: You need “GOLANG” to be installed in your system for building pvr from github source code.

Step 5: Detect & Claim your device

a) Connect a LAN cable between your RPI3 & computer/Router.
b) Open your terminal & run $ pvr scan
c) Claim your device

$ pvr claim -c merely-regular-gorilla

d) Log into and check whether the newly claimed device appeared in the dashboard or not.

Step 6: Clone the device to your computer using the Clone URL of your device

$ pvr clone presently_learning_pelican

Now your device is ready to deploy your Mysql app

Deploy your Mysql app to the device by following 3 Steps

Step 1: Add “mysql” app to the device & deploy the change

a) Add “mysql” app
$ pvr app add mysql --from=yobasystems/alpine-mariadb:arm32v7 --config-json=<(echo -n -e '{
"Env": [
b) Deploy the changes
 $ pvr add .
 $ pvr commit
 $ pvr post

Step 2: Access Mysql Server through Shell

mysql -u root -p123 -h

Step 3: Access Mysql Server through a dashboard app called “adminer”

Adminer is a dashboard app which can be used to visually manage the mysql database

By default Adminer will be server through port 8080

a) Add “adminer” app

pvr app add adminer —from=arm32v7/adminer

b) Deploy the changes
 $ pvr add .
 $ pvr commit
 $ pvr post
c) Access the Adminer dashboard by using
d) Log into the Adminer dasdhboard by entering the below mysql credentials

Now you can easily Create/update/delete mysql databases/tables through Adminer

You are Done!