Daniel Bair 44582bb67b Patches for building on Ubuntu 18.04
There are several more bugs I don't really know the answer for.
Most are I suspect related to MySQL 5.7 security.
To setup the initial database, rdadmin must be run as root.

Then there are about a half dozen mysql errors while running the various rivendell applications, rdadmin, rdcatch, rdlogedit, rdlogmanager, rdpanel:

rdadmin
invalid SQL or failed DB connection[Field 'INSTANCE' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RDPANEL set STATION="Rivendell-VirtualBox"

Database connection failed: insert into RDPANEL set STATION="Rivendell-VirtualBox"
QSqlQuery::value: not positioned on a valid record

invalid SQL or failed DB connection[Field 'PORT_2' doesn't have a default value QMYSQL3: Unable to execute query]: insert into MATRICES set STATION_NAME="Rivendell-VirtualBox",NAME="New Switcher",GPIO_DEVICE="/dev/gpio0",MATRIX=0, PORT=0, TYPE=15, INPUTS=0, OUTPUTS=0, GPIS=0, GPOS=0, PORT_TYPE=0, PORT_TYPE_2=2

invalid SQL or failed DB connection[Field 'TYPE_ID' doesn't have a default value QMYSQL3: Unable to execute query]: insert into REPLICATORS set NAME="Test"

rdcatch
invalid SQL or failed DB connection[Field 'STATION_NAME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RECORDINGS set ID=1
Database connection failed: insert into RECORDINGS set ID=1
Segmentation fault (core dumped)

rdlogedit
invalid SQL or failed DB connection[Field 'MODIFIED_DATETIME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into LOGS set NAME="MyTest",TYPE=0,DESCRIPTION="MyTest log ",ORIGIN_USER="user",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"
Database connection failed: insert into LOGS set NAME="MyTest",TYPE=0,DESCRIPTION="MyTest log",ORIGIN_USER="user",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"

rdlogmanager
Grabbing the mouse failed with "GrabInvalidTime"
invalid SQL or failed DB connection[Field 'MODIFIED_DATETIME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into LOGS set NAME="Production-0425",TYPE=0,DESCRIPTION="Production-0425 log ",ORIGIN_USER="RDLogManager",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"
Database connection failed: insert into LOGS set NAME="Production-0425",TYPE=0,DESCRIPTION="Production-0425 log ",ORIGIN_USER="RDLogManager",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"

rdpanel
invalid SQL or failed DB connection[Field 'INSTANCE' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RDPANEL set STATION="Kubuntu-VirtualBox"
Database connection failed: insert into RDPANEL set STATION="Kubuntu-VirtualBox"
QSqlQuery::value: not positioned on a valid record
Segmentation fault (core dumped)

rdselect
Segmentation fault (core dumped)
2018-05-28 14:05:26 +07:00
..