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
24
26 <authentication>
27 Represents a string of options passed directly to the mysql com‐
28 mand line client (it is called mysql for both MySQL and Mari‐
29 aDB).
30
31 It must specify a user and password (if needed) that has MySQL
32 or MariaDB administrative privileges.
33
34 This is usually a MySQL or MariaDB user called 'root'. It is not
35 the same as the 'root' login for this machine.
36
37 Typically you would type:
38
39 ncid-setup mysql -u root
40 or:
41 ncid-setup mysql -u root -p<password>
42 or:
43 ncid-setup mysql -u root --password=<password>
44
45 If a password is required for the administrative login, you must
46 specify it on the command line.
47
48
50 Network access to a MySQL or MariaDB database server.
51
52 The MySQL or MariaDB command line client 'mysql'.
53
54 Configured ncid-mysql.conf file.
55
57 /etc/ncid/conf.d/ncid-mysql.conf
58 /usr/share/ncid/setup/ncid-mysql-setup
59 /usr/bin/ncid-setup
60
61
63 ncid-mysql.1, ncid-setup.1, ncidd.8, ncid_modules.7, ncid.1
64
65
66
67NCID 2019-08-17 NCID-MYSQL-SETUP(8)