database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 884 게시물 읽기
No. 884
Re: ㅠ.ㅠ; 언제쯤 해낼까요??
작성자
정재익
작성일
2000-02-26 07:24
조회수
6,756

사실 MIPS 에서 mysql의 설치시 혹시 다른 문제가 있는지는 저도 정확히 잘 모르겠습니다.

단지 mysql_install_db 실행이 제대로 되지 않은 것만은 확실합니다.

이것이 실패한 경우에는 시스템의 grant table 이 만들어지지 않으므로 당연히 모든 사용자들의 접근이 불가능해 집니다.

해결법은 mysqld --skil-grant-table& 이런식으로 mysql daemon 을 뛰우고 나서 접근이 가능한지 확인해 보시기 바랍니다.

그리고 나서 수동으로 테이블을 만들어 주는 방법도 있을것 같군요. (정말 무식한 방법이지만...)

그리고 메뉴얼에 다음과 같은 말이 있군요.

 

If you can't start mysqld or if mysql_install_db doesn't work, please continue reading! This only happens on Linux system with problems in the LinuxThreads or

libc/glibc libraries. There are a lot of simple workarounds to get MySQL to work! The simplest is to use the binary version of MySQL (not the RPM) for Linux x86; One

nice aspect of this version is that it's probably 10% faster than any version you would compile yourself! See section 10.3 How compiling and linking affects the speed of

MySQL.

 

(이말은 thread 처리에 문제가 있는 리눅스에서만 말썽을 일으킨다고 되어 있군요. MIPS에서도 문제를 일으킨다고 메시지 보내 보세요. :-))

libc5 에서도 그와 같은 문제가 있을수 있다고 하니 혹시 점검해 보시기 바랍니다.

 

메뉴얼의 http://advance.sarang.net/database/mysql/doc/manual_toc.html#mysql_install_db 이 부분에 보시면 mysql_install_db 를 실행하는데 문제가 있을 경우 그 원인에 대해서 많이 적혀 있습니다.

참고로 하시기 바랍니다.

 

> 안녕하십니까??

> 꼭 좀 도와 주세요..

> 대체 어떻게 해야 하는지 알수없어요..

> 저는 Mysql을 rpm으로 설치 하고 잘 쓰고 있었는데.

> 제가 사용하는 시스템이 엿(?) 같아서 / 디렉토리가 100메가 조금 넘구.

> /var 디렉토리두 100메가 조금 넘구 /home 디렉 토리는 몇기가(?) 정도 되

> 거든요..

> 근데 문제는 mysql data /var 디렉토리 밑에 쌓이게 되지요..

> 그래서 안되겠다. 싶어서 RPM을 삭제하구 소스를 가져다가 컴파일을 하는

> 데 당최 되지를 않네요..

> 대체 몇번을 깔아 봤는지 몰라요.. ./configure 옵션두 무자게 바꿔 봤는

> 데. ㅠ.ㅠ;

> 암튼 이제 기존에 잘 사용하던 RPM버전두 안되여..

> 데몬은 사는데 스크립트를 사용하면 로컬 호스트에 접속이 불가능 하데요..

>

> ㅠ.ㅠ;

>

> 도와주세요.. 에러가 나는것 같은 부분은 아래와 같습니다.

> Grant 테이블 생성이 실패 한다구 나오는 거 같던데??

>

> [root@www mysql-3.22.32]# scripts/mysql_install_db

> Creating db table

> Creating host table

> Creating user table

> Creating func table

> Creating tables_priv table

> Creating columns_priv table

> Installation of grant tables failed!

>

> Examine the logs in /home/db/mysql/var for more information.

> You can also try to start the mysqld demon with:

> /home/db/mysql/libexec/mysqld --skip-grant &

> You can use the command line tool

> /home/db/mysql/bin/mysql to connect to the mysql

> database and look at the grant tables:

>

> shell> /home/db/mysql/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/db/mysql/var 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_insta

> ll_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 /home/db/mysql/bin/mysqlbug sc

> ript!

>

> 이러구 나서 실행해보면

> [root@www bin]# ./safe_mysqld

> Starting mysqld daemon with databases from /home/db/mysql/var

> mysqld daemon ended

>

> 이렇게 되어 버립니다.

> 그래서

> /home/db/mysql/var 가서 에러 확인 해보면..

> mysqld started on Fri Feb 25 17:14:19 JST 2000

> mysqld ended on Fri Feb 25 17:14:19 JST 2000

>

> 요렇게 나오는 게 전부입니다.

>

>

> 대체 어떻게 해야 하는건지

> 먼가 기존의 정보가 남아 있어서 구런건지

> 고수님들 꼭 좀 도와 주세요..

>

> 특이한 시스템이라 LINUX를 제 맘대루 다시 깔수도 없어요..

> 파티션두 바꿀 수 없는 상황이구요..

>

> 참고로 CPU는 MIPS입니다.

> 미리 감사드릴께요

> 그럼 오늘두 수고 하세요..^^;

>

>

> 안녕하십니까??

> 이번엔 꼭 좀 도와 주세요..

> 대체 어떻게 해야 하는지 알수없어요..

> 사실 저는 Mysql을 rpm으로 설치 하고 잘 쓰고 있었는데.

> 제가 사용하는 시스템이 엿(?) 같아서 / 디렉토리가 100메가 조금 넘구.

> /var 디렉토리두 100메가 조금 넘구 /home 디렉 토리는 몇기가(?) 정도 되

> 거든요..

> 근데 문제는 mysql data /var 디렉토리 밑에 쌓이게 되지요..

> 그래서 안되겠다. 싶어서 RPM을 삭제하구 소스를 가져다가 컴파일을 하는

> 데 당최 되지를 않네요..

> 대체 몇번을 깔아 봤는지 몰라요.. ./configure 옵션두 무자게 바꿔 봤는

> 데. ㅠ.ㅠ;

> 암튼 이제 기존에 잘 사용하던 RPM버전두 안되여..

> 데몬은 사는데 스크립트를 사용하면 로컬 호스트에 접속이 불가능 하데요..

>

> ㅠ.ㅠ;

>

> 도와주세요.. 에러가 나는것 같은 부분은 아래와 같습니다.

> Grant 테이블 생성이 실패 한다구 나오는 거 같던데??

>

> [root@www mysql-3.22.32]# scripts/mysql_install_db

> Creating db table

> Creating host table

> Creating user table

> Creating func table

> Creating tables_priv table

> Creating columns_priv table

> Installation of grant tables failed!

>

> Examine the logs in /home/db/mysql/var for more information.

> You can also try to start the mysqld demon with:

> /home/db/mysql/libexec/mysqld --skip-grant &

> You can use the command line tool

> /home/db/mysql/bin/mysql to connect to the mysql

> database and look at the grant tables:

>

> shell> /home/db/mysql/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/db/mysql/var 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_insta

> ll_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 /home/db/mysql/bin/mysqlbug sc

> ript!

>

> 이러구 나서 실행해보면

> [root@www bin]# ./safe_mysqld

> Starting mysqld daemon with databases from /home/db/mysql/var

> mysqld daemon ended

>

> 이렇게 되어 버립니다.

> 그래서

> /home/db/mysql/var 가서 에러 확인 해보면..

> mysqld started on Fri Feb 25 17:14:19 JST 2000

> mysqld ended on Fri Feb 25 17:14:19 JST 2000

>

> 요렇게 나오는 게 전부입니다.

>

>

> 대체 어떻게 해야 하는건지

> 먼가 기존의 정보가 남아 있어서 구런건지

> 고수님들 꼭 좀 도와 주세요..

>

> 특이한 시스템이라 LINUX를 제 맘대루 다시 깔수도 없어요..

> 파티션두 바꿀 수 없는 상황이구요..

>

> 참고로 CPU는 MIPS입니다.

> 미리 감사드릴께요

> 그럼 오늘두 수고 하세요..^^;

>

>

>

[Top]
No.
제목
작성자
작성일
조회
890리눅스와 MySQL 의 연동관계
이원희
2000-02-26
5991
893┕># Re: 리눅스와 MySQL 의 연동관계
문태준
2000-02-27 00:44:15
6373
907 ┕>Re: # Re: 감사합니다..
이원희
2000-02-28 11:17:27
6401
886[질문] 헉... 마이에서 포트접근...
그니
2000-02-26
5933
891┕>Re: [질문] 헉... 마이에서 포트접근...
정재익
2000-02-26 19:18:29
6236
885load data..
박효진
2000-02-26
5574
889┕>Re: load data..
정재익
2000-02-26 18:18:00
6067
883ㅠ.ㅠ; 언제쯤 해낼까요??
고미
2000-02-26
5449
884┕>Re: ㅠ.ㅠ; 언제쯤 해낼까요??
정재익
2000-02-26 07:24:20
6756
879# mysql 자료저장시 의문사항입니다.
이남형
2000-02-25
6030
878# PHP & Oracle 프로그래머를 찾습니다.
김태경
2000-02-25
6130
877# [질문] 한글이 깨어지는 현상..
검푸
2000-02-25
6209
894┕># Re: # [질문] 한글이 깨어지는 현상..
문태준
2000-02-27 00:49:27
7394
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.023초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다