indiek.cli

A free software package to manage your thoughts and documents!

This project is maintained by aernesto

back to table of contents

setindiekdb – Change IndieK database

Description

Changes the default MySQL database used by IndieK. Note that the database and its tables must already be created in MySQL, and the database name must be added to the setindiekdb.sh script as explained in this video.

Syntax

setindiekdb "<database name>"

Examples of use

setindiekdb "db_test"

Arguments

A MySQL database name surrounded by double quotes.

REQUIREMENTS:

Outputs/actions

Writes the correct database name to the ~/.my.cnf file, and changes IndieK’s internal variables.