mysql_install_db를 아래와 같이 실행하면 error가 발생 합니다.
------------------------------------------------------------
# scripts/mysql_install_db
scripts/mysql_install_db: 1927 Killed
scripts/mysql_install_db: 1928 Killed
WARNING: Your libc libraries are not 100 % compatible with this MySQL version
mysqld should work normally with the exception that host name resolving
will not work. This means that you should use IP addresses instead
of hostnames when specifying MySQL privileges !
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table
dynamic linker : ./bin/mysqld : error opening libz.so
scripts/mysql_install_db: 1929 Killed
Installation of grant tables failed!
Examine the logs in ./data for more information.
You can also try to start the mysqld demon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:
.
.
.
mysql_install_db의 문제가 되는 부분입니다.
---------------------------------------------------------------------
# On IRIX hostname is in /usr/bsd so add this to the path
PATH=$PATH:/usr/bsd
hostname=`hostname` # Install this too in the user table
# Check if hostname is valid
if test "$IN_RPM" -eq 0 -a $force -eq 0
then
resolved=`$bindir/resolveip $hostname 2>&1`
if [ $? -ne 0 ]
then
resolved=`$bindir/resolveip localhost 2>&1`
if [ $? -eq 0 ]
then
echo "Sorry, the host '$hostname' could not be looked up."
echo "Please configure the 'hostname' command to return a correct hostname
."
echo "If you want to solve this at a later stage, restart this script with
"
echo "the --force option"
exit 1
fi
echo "WARNING: Your libc libraries are not 100 % compatible with this MySQL
version"
echo "mysqld should work normally with the exception that host name resolvin
g"
echo "will not work. This means that you should use IP addresses instead"
echo "of hostnames when specifying MySQL privileges !"
fi
fi
.
.
.
=============================================================
resolveip 가 실행되면서
dynamic linker : ./bin/resolveip :error opening libz.so
와 같은 error가 발생하는데 여기에 원인이 있는거 같습니다.
mysql은 binary을 다운받아서 설치 했습니다.
고수님의 고견을 부탁합니다.
|