레드햇8.0 mysql 3.23.53 설치시 scripts/mysql_install_db 여기에서
에러가 나는뎅. 이유를 잘 모르겠슴당.
# groupadd mysql
# useradd -g mysql mysql
# tar xvfz mysql-3.23.53.tar.gz
# cd mysql-3.23.53
# ./configure --prefix=/usr/local/mysql --with-charset=euc_kr
--localstatedir=/usr/local/mysql/data
# make
# make install
# scripts/mysql_install_db
mkdir: cannot create directory `/usr/local/mysql/data': 그런 파일이나 디렉토리가 없음
chmod: failed to get attributes of `/usr/local/mysql/data': 그런 파일이나 디렉토리가 없음
mkdir: cannot create directory `/usr/local/mysql/data/mysql': 그런 파일이나 디렉토리가 없음
chmod: failed to get attributes of `/usr/local/mysql/data/mysql': 그런 파일이나 디렉토리가 없음
mkdir: cannot create directory `/usr/local/mysql/data/test': 그런 파일이나 디렉토리가 없음
chmod: failed to get attributes of `/usr/local/mysql/data/test': 그런 파일이나 디렉토리가 없음
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
/usr/local/mysql--with-charset=euc_kr/libexec/mysqld: Can't change dir to '/usr/local/mysql/data/'
(Errcode:2)
021031 20:56:39 Aborting
021031 20:56:39 /usr/local/mysql--with-charset=euc_kr/libexec/mysqld: Shutdown Complete
Installation of grant tables failed!