우분투에서 MySQL 초기화 DB 생성이 안되요...ㅜㅜ
리눅스를 열시미 공부하고 있는 초짜입니다..
우분투를 깔고 APM설치를 하기 위해서 밑의 사이트를 참고로 설치하고 있었습니다.
http://www.ubuntu.or.kr/wiki.php/ApacheMySQLPHP
$ cd /usr
$ sudo ./bin/mysql_install_db --user=mysql
이렇게 했더니...
Installing MySQL system tables...
ERROR: 1062 Duplicate entry '%-test-' for key 1
071022 0:08:20 [ERROR] Aborting
071022 0:08:20 [Note] /usr/sbin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/sbin/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 /var/lib/mysql that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
요렇게 나오고 초기화 DB가 생성 되지 않습니다...ㅜㅜ
설치한 OS는 우분투 7.04 이구요.
mysql-server, libapache2-mod-auth-mysql, php5, php5-mysql
이렇게 설치 했습니다..고수님들 좀 도와주세요...ㅠㅠ
댓글 달기