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 955 게시물 읽기
No. 955
# MySQL이 실행 않되요. 어찌해야죠?
작성자
왕초보
작성일
2000-03-06 17:42
조회수
5,909

MySQL 왕초보입니다.

 

MySQL을 실행하면 바로 시작했다가 끝내버리는군요.

/usr/local/mysql/data/컴퓨터주소.err 파일을 확인해보니

--bindir이라는 option 을 모른다는 메시지만 남아있어요.

 

사용시스템

=========

H/W : SUN Sparc20

kernel : Linux 2.2.5.-15

mysql_version : 3.22.32

shared_lib_version : 6:0:0

release : 1

 

 

 

실행내용

=======

# /etc/rc.d/init.d/mysql.server start

# Starting mysqld deamon with databases from /usr/local/mysql/data

mysqld daemon ended

 

/etc/rc.d/mysql.server 내용에 다음과 같은 값들이 설정되 있구요

=================================================

PATH=/sbin:/usr/sbin:/bin:/usr/bin

basedir=/usr/local/mysql

bindir=/usr/local/mysql/bin

datadir=/usr/local/mysql/data

pid_file=/usr/local/mysql/data/mysqld.pid

mysql_daemon_user=root # Run mysqld as this user.

export PATH

 

/etc/my.cnf 내용

============

[mysqld]

basedir=/usr/local/mysql

bindir=/usr/local/mysql/bin

datadir=/usr/local/mysql/data

socket=tmp/mysqld.sock

port=3306

[mysql.server]

user=mysql

basedir=/usr/local/mysql

 

/usr/local/mysql/data/컴퓨터주소.err 파일의 마지막 부분

===========================================

/usr/local/mysql/libexec/mysqld: unrecognized option `--bindir=/usr/local/mysql/bin'

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/usr/local/mysql/libexec/mysqld Ver 3.22.32 for unknown-linux-gnu on sparc

Copyright (C) 1979-2000 TcX AB & Monty Program KB & Detron HB.

All rights reserved. Se the file PUBLIC for licence information.

This software comes with ABSOLUTELY NO WARRANTY: see the file PUBLIC for details.

 

Starts the mysql server

 

Usage: /usr/local/mysql/libexec/mysqld [OPTIONS]

 

-b, --basedir=path Path to installation directory. All paths are

usually resolved relative to this

 

등등... 옵션 설명이 나오고

 

Default options are read from the following files in the given order:

/etc/my.cnf /usr/local/mysql/data/my.cnf ~/.my.cnf

The following groups are read: mysqld server

The following options may be given as the first argument:

--print-defaults Print the program argument list and exit

--no-defaults Don't read default options from any options file

--defaults-file=# Only read default options from the given file #

 

To see what values a running MySQL server is using, type

'mysqladmin variables' inThe default values (after parsing the command line arguments) are:

 

basedir: /home3/mysql/

datadir: /home3/mysql/data/

tmpdir: /tmp/

language: /home3/mysql/share/mysql/english/

pid file: /home3/mysql/data/networks.pid

TCP port: 3306

Unix socket: /tmp/mysql.sock

 

system locking is not in use

 

Possible variables for option --set-variable (-O) are:

back_log current value: 5

connect_timeout current value: 5

delayed_insert_timeout current value: 300

delayed_insert_limit current value: 100

:

: 등의 변수값들이 나오고

tmp_table_size current value: 1048576

thread_stack current value: 65536

wait_timeout current value: 28800

mysqld ended on Sat Mar 4 20:11:33 KST 2000

stead of 'mysqld --help'.

[Top]
No.
제목
작성자
작성일
조회
963# <질문>mysql과 postgrsql 비교 해주세요..
백광해
2000-03-07
5315
965┕>Re: # <질문>mysql과 postgrsql 비교 해주세요..
정재익
2000-03-07 18:30:20
5834
971┕># Re: # <질문>mysql과 postgrsql 비교 해주세요..
문태준
2000-03-08 12:16:48
5838
962이 문제를 해결 할 수 없나요?
최원주
2000-03-07
5387
956# ★질문★아래아한글 디비에있는것 다운받는 방법은?????
무식이
2000-03-06
5695
960┕>Re: # ★질문★아래아한글 디비에있는것 다운받는 방법은?????
정재익
2000-03-06 23:15:25
5948
955# MySQL이 실행 않되요. 어찌해야죠?
왕초보
2000-03-06
5909
959┕>Re: # MySQL이 실행 않되요. 어찌해야죠?
정재익
2000-03-06 23:12:58
6126
951# [●질문●] ODBC ?????
유병훈
2000-03-06
5391
953┕># Re: # [●질문●] ODBC ?????
문태준
2000-03-06 14:40:52
6501
950# [★질문★]아래아한글 디비에 저장하고 다운받는 방법은 없나요??실례좀 부탁
유병훈
2000-03-06
5695
952┕># Re: # [★질문★]아래아한글 디비에 저장하고 다운받는 방법은 없나요??실례좀 부탁
문태준
2000-03-06 14:36:07
6228
954 ┕># Re: # Re: # [★질문★]아래아한글 디비에 저장하고 다운받는 방법은 없나요??실례좀 부탁
무식이
2000-03-06 14:55:30
5775
949# 942번 질문에 대하여 제가 해결한 방법을 설명드리겠습니다.
박흠
2000-03-06
5474
1895┕>Re: # 942번 질문에 대하여 제가 해결한 방법을 설명드리겠습니다.
constant
2000-05-31 00:41:46
6373
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.025초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다