Oct 22, 2018

[HDGEM] How to print MySQL default options

--print-defaults
Print the program name and all options that it gets from option files.

mysqld --print-defaults
mysqld would have been started with the following arguments:
--datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --symbolic-links=0 --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid

--
Posted By Blogger to HDGEM at 1/12/2017 06:11:00 AM