mysql 데이터 폴더 변경 관련 질문입니다.

안녕하세요.
mysql 데이터 폴더를 변경하려고 구글링해서 적용해봤는데
아무리 똑같이 해도 이런 에러가 납니다.
my.cnf 파일을 수정하고, mysql 폴더를 이동하고, 권한을 설정했는데
계속 이런 에러가 나네요.
혹시 개선책이 없을까요?
조언 부탁드립니다.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Initializing MySQL database: Installing MySQL system tables...
111120 8:35:19 [Warning] Can't create test file /home/mysql/localhost.lower-test
111120 8:35:19 [Warning] Can't create test file /home/mysql/localhost.lower-test
ERROR: 1005 Can't create table 'db' (errno: 13)
111120 8:35:19 [ERROR] Aborting
111120 8:35:19 [Note] /usr/libexec/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/home/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/libexec/mysqld --skip-grant &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /home/mysql that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!
댓글 달기