MariaDB fails at system boot
Posted: Thu Jan 14, 2021 5:55 pm
Adding the following line to systartup_vms.com should start MariaDB but it fails, but then running it manually works.
The problem here is that the logical name that points to the LGICMD of the MYSQL account hasn't been defined before the batch job is submitted to the queue.
The fix is to edit, SYS$COMMON:[MYSQL055.VMS]START_MYSQLD.COM and move the following line,
Up until just below this line,
This will ensure that the logical is defined - save, exit and reboot to test.
Code: Select all
@SYS$COMMON:[MYSQL055.VMS]START_MYSQLD
Code: Select all
Username: MYSQL051_SRV Owner:
Account: MYSQL051 UIC: [37776,1] ([MYSQL051,MYSQL051
_SRV])
CLI: DCL Tables: DCLTABLES
Default: MYSQL055_ROOT:[MYSQL_SERVER]
LGICMD: MYSQL055_ROOT:[VMS]LOGIN.COM
Code: Select all
$ @'Local_DIR'Logicals
Code: Select all
$ Username := mysql051_srv