./configure --prefix=/usr/local/mysql
--localstatedir=/usr/local/mysql/data
--with-charset=euc_kr
이렇게 하고 나서
make; make install
cd /usr/local/mysql
# ./bin/mysql_install_db
하고나면
이런 메시지가 출력됩니다.
preparing db table
preparing host table
preparing user table
.....
....
preparing all prepared tables
To start mysqld at boot time you have to copy ....
.....
Support MySQL by buying support/licenses at https://order.mysql.com 문제는 에러가 없는거 같은데도
data디렉토리가 생성되지를 않습니다.
음 무엇이 문제인지...쩝
도움말좀 바랍니다.
mysql_install_db 가 data 디렉토리를 만들지 못하는 것은 --localstatedir 옵션과 실제 설치 경로가 맞지 않기 때문인 경우가 많습니다. 설치 후 my.cnf 의 datadir 값을 확인하고, 필요하면 datadir 을 명시해서 다시 설치하세요.