AutoXchange 2026 Technical Documentation

MySQL Parameters

The following parameters define the methods for storing data in MySQL databases. Other databases can be supported, but the default is MySQL.

MYSQL Parameters
MSPORTMySQL Port
MSUSERMySQL User
MSPWDMySQL Password for the user
MSUSERN[AME]Name to use as ID in Users Table
MSEMAILEmail address to use in Users Table
MSORG[ANIZATION]Organization to use in Users Table
MSDATA[BASE]MySQL database name
MSUSERT[ABLE]Name of MySQL Users Table
MSDRAW[ING]Name of MySQL Drawing Table
MSLAYER[S]Name of MySQL Layers Table
MSLAYO[UTS]Name of MySQL Layouts Table
MSTEXTName of MySQL Text Items Table
MSBLOCK[S]Name of MySQL Blocks Table
MSATTRIB[UTES]Name of MySQL Attributes Table

MySQL Port

PARAMETERMSPORT
PurposeThis parameter specifies the port to be used for the MySQL connection. It is a string value that normally contains a URL and Port Number, separated by a colon. This parameter can also be defined by the $MYSQL_PORT Environment Variable on both Windows and Linux.
Example-MSPORT=“127.168.1.1:3306”
JSON{“MSPORT”:“127.168.1.1:3306}
UseWith SVG Only

MySQL User

PARAMETERMyUser
PurposeThis parameter specifies MySQL User to be used. This parameter can also be defined by the $MYSQL_USER Environment Variable on both Windows and Linux.
Example-MSUSER=scott
JSON{“MSUSER”: “scott”}
UseWith SVG Only

MySQL Password

PARAMETERMSPWD
PurposeThis parameter specifies MySQL Password for the User defined above. This parameter can also be defined by the $MYSQL_PWD Environment Variable on both Windows and Linux.
Example-MSPWD=ABC123
JSON{“MSPWD”: “ABC123”}
UseWith SVG Only

MySQL User Name

PARAMETERMSUSERNAME
PurposeThis parameter specifies User Name to be used as part of the ID in the Users Table. It combines with MSEMAIL and MSORG to identify a unique user. It can be blank, in which case the default User will be used.
Example-MSUSERNAME=“Harry Tomlinson”
JSON{“MSUSERN”: “Harry Tomlinson”}
UseWith SVG Only

MySQL User Email

PARAMETERMSEMAIL
PurposeThis parameter specifies Email Address to be used as part of the ID in the Users Table. It combines with MSUSERNAME and MSORG to identify a unique user. It can be blank, in which case the default User will be used.
Example-MSEMAIL=“harry@somewhere.com”
JSON{“MSEMAIL”: “harry@somewhere.com”}
UseWith SVG Only

MySQL User Organization

PARAMETERMSORGANIZATION
PurposeThis parameter specifies User Organization to be used as part of the ID in the Users Table. It combines with MSUSERNAME and MSEMAIL to identify a unique user. It can be blank, in which case the default User will be used.
Example-MSORGANIZATION=“Logistics”
JSON{“MSORG”: “Accounting”}
UseWith SVG Only

MySQL Database

PARAMETERMSDATABASE
PurposeThis parameter specifies MySQL Database (Source) to be used.
Example-MSDATA=Drawing
JSON{“MSDATA”: “Drawing”}
UseWith SVG Only

MySQL User Table

PARAMETERMSUSERTABLE
PurposeThis parameter specifies the name of the MySQL Users Table to be used.
Example-MSUSERTABLE=Users
JSON{“MSUSERT”: “Users”}
Defaultusers
UseWith SVG Only

MySQL Drawing

PARAMETERMSDRAWING
PurposeThis parameter specifies the name of the MySQL Drawing Table to be used.
Example-MSDRAWING=Drawings
JSON{“MSDRAW”: “Drawings”}
Defaultdrawings
UseWith SVG Only

MySQL Layers

PARAMETERMSLAYERS
PurposeThis parameter specifies the name of the MySQL Layers Table to be used.
Example-MSLAYERS=MyLayers
JSON{“MSLAYERS”: “MyLayers”}
Defaultlayers
UseWith SVG Only

MySQL Layouts

PARAMETERMSLAYERS
PurposeThis parameter specifies the name of the MySQL Layouts Table to be used.
Example-MSLAYO=MyLayouts
JSON{“MSLAYOUTS”: “MyLayouts”}
Defaultlayouts
UseWith SVG Only

MySQL Text Items

PARAMETERMSTEXT
PurposeThis parameter specifies the name of the MySQL Text Items Table to be used.
Example-MSTEXT=MyText
JSON{“MSTEXT”: “MyText”}
Defaulttextitems
UseWith SVG Only

MySQL Blocks

PARAMETERMSBLOCKS
PurposeThis parameter specifies the name of the MySQL Blocks Table to be used.
Example-MSBLOCKS=Lego
JSON{“MSBLOCKS”: “MyBlocks”}
Defaultblocks
UseWith SVG Only

MySQL Attributes

PARAMETERMSATTRIBUTES
PurposeThis parameter specifies the name of the MySQL Attributes Table to be used.
Example-MSATTRIB=MyAttributes
JSON{“MSATTRIBUTES”: “MyAttributes”}
Defaultattributes
UseWith SVG Only
Last updated on 30 Jul 2022
Published on 10 Jul 2022