Page 1 of 1

mysql_config works improperly in newer versions

PostPosted: 25. July 2019 12:27
by grigory
Hi all,

Why the output of mysq_config in new version of XAMPP (7.3.7) is the following:
Code: Select all
-bash-4.2$ ./mysql_config
Usage: ./mysql_config [OPTIONS]
Options:
        --cflags         [-I/opt/lampp/include/mysql -I/opt/lampp/include/mysql/mysql]
        --include        [-I/opt/lampp/include/mysql -I/opt/lampp/include/mysql/mysql]
        --libs           [-L/opt/lampp/lib/ -lmariadb -lz -lm -lpthread -liconv -lssl -lcrypto -liconv]
        --libs_r         [-L/opt/lampp/lib/ -lmariadb -lz -lm -lpthread -liconv -lssl -lcrypto -liconv]
        --plugindir      [/opt/lampp/lib/mysql/plugin]
        --socket         [/opt/lampp/var/mysql/mysql.sock]
        --port           [3306]
        --version        [10.3.16]
        --libmysqld-libs [-L/u/grigory/ResultsDB/lampp/lib/mysql  -lmysqld]
        --variable=VAR   VAR is one of:
                pkgincludedir [/opt/lampp/include/mysql]
                pkglibdir     [/opt/lampp/lib/mysql]
                plugindir     [/opt/lampp/lib/mysql/plugin]


But it is incorrect since all necessary headers for compiling additional MySQL auth plugin or other things are in include/server/mysql folder.