X7ROOT File Manager
Current Path:
/usr/local/sbin
usr
/
local
/
sbin
/
📁
..
📄
aria_chk
(5.54 MB)
📄
aria_dump_log
(5.34 MB)
📄
aria_ftdump
(5.35 MB)
📄
aria_pack
(5.38 MB)
📄
aria_read_log
(5.5 MB)
📄
galera_new_cluster
(928 B)
📄
galera_recovery
(3.29 KB)
📄
innochecksum
(4.61 MB)
📄
mariadb
(5.12 MB)
📄
mariadb-access
(109.48 KB)
📄
mariadb-admin
(4.89 MB)
📄
mariadb-binlog
(5.16 MB)
📄
mariadb-check
(4.89 MB)
📄
mariadb-config
(15.64 KB)
📄
mariadb-conv
(4.6 MB)
📄
mariadb-convert-table-format
(4.28 KB)
📄
mariadb-dump
(4.99 MB)
📄
mariadb-dumpslow
(8.19 KB)
📄
mariadb-embedded
(24.72 MB)
📄
mariadb-find-rows
(3.35 KB)
📄
mariadb-fix-extensions
(1.31 KB)
📄
mariadb-hotcopy
(34.67 KB)
📄
mariadb-import
(5 MB)
📄
mariadb-install-db
(22.35 KB)
📄
mariadb-ldb
(11.28 MB)
📄
mariadb-plugin
(4.58 MB)
📄
mariadb-secure-installation
(13.66 KB)
📄
mariadb-service-convert
(2.45 KB)
📄
mariadb-setpermission
(17.7 KB)
📄
mariadb-show
(4.88 MB)
📄
mariadb-slap
(4.89 MB)
📄
mariadb-tzinfo-to-sql
(4.57 MB)
📄
mariadb-upgrade
(5.01 MB)
📄
mariadb-waitpid
(4.56 MB)
📄
mariadb_config
(15.64 KB)
📄
mariadbd
(26.85 MB)
📄
mariadbd-multi
(26.85 KB)
📄
mariadbd-safe
(30.59 KB)
📄
mariadbd-safe-helper
(4.53 MB)
📄
msql2mysql
(1.42 KB)
📄
my_print_defaults
(4.56 MB)
📄
myisam_ftdump
(4.89 MB)
📄
myisamchk
(5.02 MB)
📄
myisamlog
(4.87 MB)
📄
myisampack
(4.92 MB)
📄
myrocks_hotbackup
(24.54 KB)
📄
mysql
(5.12 MB)
📄
mysql_config
(4.47 KB)
📄
mysql_embedded
(24.72 MB)
📄
mysql_find_rows
(3.35 KB)
📄
mysql_fix_extensions
(1.31 KB)
📄
mysql_install_db
(22.35 KB)
📄
mysql_ldb
(11.28 MB)
📄
mysql_plugin
(4.58 MB)
📄
mysql_tzinfo_to_sql
(4.57 MB)
📄
mysql_upgrade
(5.01 MB)
📄
mysql_waitpid
(4.56 MB)
📄
mysqlaccess
(109.48 KB)
📄
mysqladmin
(4.89 MB)
📄
mysqlbinlog
(5.16 MB)
📄
mysqlcheck
(4.89 MB)
📄
mysqld
(26.85 MB)
📄
mysqld_multi
(26.85 KB)
📄
mysqld_safe
(30.59 KB)
📄
mysqld_safe_helper
(4.53 MB)
📄
mysqldump
(4.99 MB)
📄
mysqlimport
(5 MB)
📄
mysqlshow
(4.88 MB)
📄
mysqlslap
(4.89 MB)
📄
mytop
(72.03 KB)
📄
perror
(4.77 MB)
📄
rcmysql
(0 B)
📄
replace
(4.54 MB)
📄
resolve_stack_dump
(4.56 MB)
📄
resolveip
(4.56 MB)
📄
sst_dump
(6.81 MB)
📄
wsrep_sst_backup
(2.39 KB)
📄
wsrep_sst_common
(68.25 KB)
📄
wsrep_sst_mariabackup
(51.98 KB)
📄
wsrep_sst_mysqldump
(8.82 KB)
📄
wsrep_sst_rsync
(29.84 KB)
📄
wsrep_sst_rsync_wan
(29.84 KB)
Editing: mysql_config
#!/usr/bin/sh # Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA # This script reports various configuration settings that may be needed # when using the MariaDB client library. # # If we can find the given directory relatively to where mysql_config is # we should use this instead of the incompiled one. # This is to ensure that this script also works with the binary MariaDB # version fix_path () { var=$1 shift for filename do path=$basedir/$filename if [ -d "$path" ] ; then eval "$var"=$path return fi done } get_full_path () { file=$1 # if the file is a symlink, try to resolve it if [ -h $file ]; then file=`ls -l $file | awk '{ print $NF }'` fi case $file in /*) echo "$file";; */*) tmp=`pwd`/$file; echo $tmp | sed -e 's;/\./;/;' ;; *) command -v $file ;; esac } me=`get_full_path $0` # Script might have been renamed but assume mysql_<something>config<something> basedir=`echo $me | sed -e 's;/bin/mysql_.*config.*;;'` ldata='/var/lib/mysql' execdir='/usr/sbin' bindir='/usr/bin' # If installed, search for the compiled in directory first (might be "lib64") pkglibdir='/usr/lib64' pkglibdir_rel=`echo $pkglibdir | sed -e "s;^$basedir/;;"` fix_path pkglibdir $pkglibdir_rel lib64/mysql lib64 plugindir='/usr/lib64/mysql/plugin' plugindir_rel=`echo $plugindir | sed -e "s;^$basedir/;;"` fix_path plugindir $plugindir_rel lib64/mysql/plugin lib64/plugin pkgincludedir='/usr/include/mysql' fix_path pkgincludedir include/mysql version='11.8.6' socket='/var/lib/mysql/mysql.sock' if [ 0 -eq 0 ]; then port=0 else port=3306 fi # Create options libs="-L$pkglibdir -lmariadb" embedded_libs="-L$pkglibdir -lmysqld" include="-I$pkgincludedir" if [ "$basedir" != "/usr" ]; then include="$include -I$pkgincludedir/.." fi cflags="$include " mariadb_config="$basedir/bin/mariadb_config" if test -x "$basedir/bin/mariadb_config"; then cflags=`"$mariadb_config" --cflags` include=`"$mariadb_config" --include` libs=`"$mariadb_config" --libs` plugindir=`"$mariadb_config" --plugindir` socket=`"$mariadb_config" --socket` port=`"$mariadb_config" --port` version=`"$mariadb_config" --version` fi usage () { cat <<EOF Usage: $0 [OPTIONS] Options: --cflags [$cflags] --include [$include] --libs [$libs] --libs_r [$libs] --plugindir [$plugindir] --socket [$socket] --port [$port] --version [$version] --libmysqld-libs [$embedded_libs] --variable=VAR VAR is one of: pkgincludedir [$pkgincludedir] pkglibdir [$pkglibdir] plugindir [$plugindir] EOF exit $1 } if test $# -le 0; then usage 0 ; fi while test $# -gt 0; do case $1 in --cflags) echo "$cflags" ;; --include) echo "$include" ;; --libs) echo "$libs" ;; --libs_r) echo "$libs" ;; --plugindir) echo "$plugindir" ;; --socket) echo "$socket" ;; --port) echo "$port" ;; --version) echo "$version" ;; --embedded-libs | --embedded | --libmysqld-libs) echo "$embedded_libs" ;; --variable=*) var=`echo "$1" | sed 's,^[^=]*=,,'` case "$var" in pkgincludedir) echo "$pkgincludedir" ;; pkglibdir) echo "$pkglibdir" ;; plugindir) echo "$plugindir" ;; *) usage 1 >&2 ;; esac ;; *) usage 1 >&2 ;; esac shift done #echo "ldata: '"$ldata"'" #echo "execdir: '"$execdir"'" #echo "bindir: '"$bindir"'" #echo "pkglibdir: '"$pkglibdir"'" #echo "pkgincludedir: '"$pkgincludedir"'" #echo "version: '"$version"'" #echo "socket: '"$socket"'" #echo "port: '"$port"'" #echo "ldflags: '"$ldflags"'" #echo "client_libs: '"$client_libs"'" exit 0
Upload File
Create Folder