19.4.2.2 X Plugin Options and System Variables (original) (raw)

19.4.2.2 X Plugin Options and System Variables

To control activation of X Plugin, use this option:

If X Plugin is enabled, it exposes several system variables that permit control over its operation:

socket=/home/sockets/mysqld/mysql.sock  
mysqlx_socket=/home/sockets/xplugin/xplugin.sock  

If you change the default path and file name for the main socket file at compile time using theMYSQL_UNIX_ADDR compile option, this does affect the default for the X Plugin socket file, which is formed by appending anx to theMYSQL_UNIX_ADDR file name. If you want to set a different default for the X Plugin socket file at compile time, use theMYSQLX_UNIX_ADDR compile option.
The MYSQLX_UNIX_PORT environment variable can also be used to set a default for the X Plugin socket file at server startup (seeSection 4.9, “Environment Variables”). If you set this environment variable, it overrides the compiledMYSQLX_UNIX_ADDR value, but is overridden by themysqlx_socket value.