Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User : palandch ( 1163)
PHP Version : 7.1.33
Disable Function : NONE
Directory :  /usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/bin/mysql_config
#! /bin/bash
#
# Wrapper script for mysql_config to support multilib
#
#

# This command respects setarch, works on OL6/RHEL6 and later
isa_bits=$(rpm --eval %__isa_bits)

case $bits in
    32|64) bits=$isa_bits ;;
        *) bits=unknown ;;
esac

# Try mapping by uname if rpm command failed
if [ "$bits" = "unknown" ] ; then
    arch=$(uname -m)
    case $arch in
	x86_64|ppc64) bits=64 ;;
	i386|i486|i586|i686|pentium3|pentium4|athlon|ppc) bits=32 ;;
	*) bits=unknown ;;
    esac
fi

if [ "$bits" == "unknown" ] ; then
    echo "$0: error: failed to determine isa bits on your arch."
    exit 1
fi

if [ -x /usr/bin/mysql_config-$bits ] ; then
    /usr/bin/mysql_config-$bits "$@"
else
    echo "$0: error: needed binary: /usr/bin/mysql_config-$bits is missing. Please check your MySQL installation."
    exit 1
fi


Spamworldpro Mini