Public bug reported:

It seems to be impossible to pass a configuration file to mysqld on
startup: E.g.:

/usr/bin/mysqld_safe --basedir=/usr --datadir=/data/mysql/main
--defaults-file=/data/mysql/my.cnf --pid-file=/tmp/my.pid
--socket=/tmp/my.sock

results into:

/usr/sbin/mysqld --basedir=/usr --datadir=/data/mysql/main --plugin-
dir=/usr/lib/mysql/plugin --defaults-file=/data/mysql/my.cnf --pid-
file=/tmp/my.pid --socket=/tmp/my.sock --port=3306 --log-syslog=1 --log-
syslog-facility=daemon --log-syslog-tag=

which in turn results into an error:
...
2017-05-09T22:16:32.748719Z 0 [Note] InnoDB: 5.7.18 started; log sequence 
number 2536517
2017-05-09T22:16:32.749035Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-05-09T22:16:32.753430Z 0 [ERROR] unknown variable 
'defaults-file=/data/mysql/my.cnf'
2017-05-09T22:16:32.753597Z 0 [ERROR] Aborting

** Affects: mysql-server
     Importance: Undecided
         Status: New

** Project changed: codership-mysql => mysql-server

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1689669

Title:
  mysqld: unknown variable 'defaults-file=/data/mysql/my.cnf'

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1689669/+subscriptions

-- 
Mailing list: https://launchpad.net/~enterprise-support
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~enterprise-support
More help   : https://help.launchpad.net/ListHelp

Reply via email to