NCID-MYSQL-SETUP(8)
β¨ NAME β¨
ncid-mysql-setup β the lil setup script that gets your MySQL/MariaDB database looking cute for the ncid-mysql output module π (it lives in the NCID manual, section 8, for the record π«Ά)
πΈ SYNOPSIS πΈ
ncid-setup mysql <authentication>
π DESCRIPTION π
okay so, bestie, listen: the ncid-mysql-setup script is the one that initializes the MySQL or MariaDB database, table and user that the ncid-mysql output module needs. it's giving setup, it's giving foundation, it's giving main character energy β¨
π¨ but fr fr: all existing data will be erased. not "maybe", not "sort of" β erased. so know what you're doing before you run this, okay? π
The ncid-mysql-setup script uses the ncid-mysql.conf file for the database configuration. that's where all the config deets live, no cap π
and important: you do not execute ncid-mysql-setup directly, bestie. nope. instead, you launch it like this:
ncid-setup mysql <authentication>
that's the way. periodt. π
π¦ ARGUMENTS π¦
<authentication>β a string of options that gets passed directly to themysqlcommand line client (and yeah, it's calledmysqlfor both MySQL and MariaDB, iconic behavior honestly π).
it has to specify a user and password (if one's needed) that has MySQL or MariaDB administrative privileges. like, the keys to the kingdom, yk? π
this is usually a MySQL or MariaDB user called 'root'. and no, it is not the same as the 'root' login for this machine β totally different root, don't get it twisted π
typically you would type:
ncid-setup mysql -u root
or:
ncid-setup mysql -u root -p<password>
or:
ncid-setup mysql -u root --password=<password>
if a password is required for the administrative login, you must specify it on the command line. no skipping, no shortcuts, that's just the vibe π
π REQUIREMENTS π
- Network access to a MySQL or MariaDB database server. gotta be able to reach it, bestie π
- The MySQL or MariaDB command line client
mysql. yes, you actually need the client π - A configured
ncid-mysql.conffile. config first, chaos later β¨
π FILES π
prefix3=/etc/ncid/conf.d/ncid-mysql.conf
/usr/share/ncid/setup/ncid-mysql-setup
/usr/bin/ncid-setup
π SEE ALSO π
ncid-mysql.1, ncid-setup.1, ncidd.8, ncid_modules.7, ncid.1
go read those too, iykyk π
and that's the whole page, bestie!! this one's from the NCID manual, dated 2022-11-8 β so like, a certified classic at this point π mwah, go set up that database, you got this πβ¨ππ¦
π¦ where this page comes from
- fedora 43: ncid-mysql 1.18-4.fc43 Β· GPL-3.0-or-later
- fedora 44: ncid-mysql 1.18-5.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms