1NCID-MYSQL-SETUP(8) NCID NCID-MYSQL-SETUP(8)
2
3
4
6 ncid-mysql-setup
7
9 ncid-setup mysql <authentication>
10
12 The ncid-mysql-setup script initializes the MySQL or MariaDB database,
13 table and user that is required for the ncid-mysql output module. All
14 existing data will be erased.
15
16 The ncid-mysql-setup script uses the ncid-mysql.conf file for the data‐
17 base configuration.
18
19 You do not execute ncid-mysql-setup directly. Instead, you launch it as
20 follows:
21
22 ncid-setup mysql <authentication>
23
25 <authentication>
26 Represents a string of options passed directly to the mysql com‐
27 mand line client (it is called mysql for both MySQL and Mari‐
28 aDB).
29
30 It must specify a user and password (if needed) that has MySQL
31 or MariaDB administrative privileges.
32
33 This is usually a MySQL or MariaDB user called 'root'. It is not
34 the same as the 'root' login for this machine.
35
36 Typically you would type:
37
38 ncid-setup mysql -u root
39 or:
40 ncid-setup mysql -u root -p<password>
41 or:
42 ncid-setup mysql -u root --password=<password>
43
44
45 If a password is required for the administrative login, you must
46 specify it on the command line.
47
49 Network access to a MySQL or MariaDB database server.
50
51 The MySQL or MariaDB command line client 'mysql'.
52
53 Configured ncid-mysql.conf file.
54
56 /etc/ncid/conf.d/ncid-mysql.conf
57 /usr/share/ncid/setup/ncid-mysql-setup
58 /usr/bin/ncid-setup
59
61 ncid-mysql.1, ncid-setup.1, ncidd.8, ncid_modules.7, ncid.1
62
63
64
65NCID 2022-11-8 NCID-MYSQL-SETUP(8)