MariaDB fails at system boot

Discussions around the use of MySQL on VMS
Post Reply
Message
Author
User avatar
issinoho
Site Admin
Posts: 188
Joined: Tue Feb 01, 2005 12:53 am
Location: Scotland
Contact:

MariaDB fails at system boot

#1 Post by issinoho »

Adding the following line to systartup_vms.com should start MariaDB but it fails, but then running it manually works.

Code: Select all

@SYS$COMMON:[MYSQL055.VMS]START_MYSQLD
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.

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
The fix is to edit, SYS$COMMON:[MYSQL055.VMS]START_MYSQLD.COM and move the following line,

Code: Select all

$ @'Local_DIR'Logicals
Up until just below this line,

Code: Select all

$ Username := mysql051_srv
This will ensure that the logical is defined - save, exit and reboot to test.

Post Reply