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 2232 게시물 읽기
No. 2232
Re: # 감사합니다. 근데 \이 없어요..ㅠ.ㅠ
작성자
박승홍
작성일
2000-06-22 19:37
조회수
2,711

갑자기 당황하게 되는군요.

 

저는 아래의 버전을 rpm으로 설치하여 사용합니다.

 

MySQL-3.23.16-1

MySQL-client-3.23.16-1

MySQL-devel-3.23.16-1

 

\ 가 없다면

 

shell>mysql db_name < test.sql

 

을 하셔도 됩니다. 이때 -u user_name 과 -p 주는건 아시죠 :-)

 

그럼 꼭 성공하세요.

 

 

 

> 박승홍님!

> 대단히 감사합니다.

>

> 근데 제가 쓰고 있는 mysql에서는 source (\)라는 명령어가 없어요.

> 다른 명령은 대부분 다 있는데요 ...

> 그래서 그런지 \ 명령어가 안먹어요.

> 다른 방법은 없나요?

>

>

> 한번 보세요

>

> MySQL commands:

> help (\) Display this text

> ? (\) Synonym for `help'

> clear (\) Clear command

> connect () Reconnect to the server. Optional arguments are db and

> host

> edit (\) Edit command with $EDITOR

> exit (\) Exit mysql. Same as quit

> go (\) Send command to mysql server

> ego (\) Send command to mysql server; Display result verticall

> y

> print (\) Print current command

> quit (\) Quit mysql

> rehash (\) Rebuild completion hash

> status (\) Get status information from the server

> use (\) Use another database. Takes database name as argument

>

> ㅠ.ㅠ

> =====================================================================

>

>

>

>

>

> > mysql>\ //를 한번 해보세요.

> >

> > ==============================================================

> > MySQL commands:

> > help (\) Display this text

> > ? (\) Synonym for `help'

> > clear (\) Clear command

> > connect () Reconnect to the server. Optional arguments are db and host

> > edit (\) Edit command with $EDITOR

> > exit (\) Exit mysql. Same as quit

> > go (\) Send command to mysql server

> > ego (\) Send command to mysql server; Display result vertically

> > print (\) Print current command

> > quit (\) Quit mysql

> > rehash (\) Rebuild completion hash

> > source (\) Execute a SQL script file. Takes a file name as an argument

> > status (\) Get status information from the server

> > use (\) Use another database. Takes database name as argument

> > ==========================================================================

> >

> > 위와 같이 나오죠 . 위에서 \ 이 바로 sql 명령이 들어있는 파일을

> >

> > 바로 실행 시키는 명령이지요.

> >

> > msyql>\ test.sql //예

> >

> > 하시면 test.sql 안의 sql 명령들이 실행됩니다..

> >

> > 그럼 도움이 되었기를...

> >

> > > 아시는분 도와주세요!!

> > >

> > > db에 들어갈 내용들을 ***.sql에다 저장하고서 oracle에서

> > > > start ***.sql 혹은

> > > > @ ***.sql을 사용하면 그 내용들은 사용할수가 있는걸로 알고있는데요

> > >

> > > 지금 php + apache + mysql을 사용하고 있고 오라클이 아닌 mysql을 사용하여 ***. sql 과 그외 **

> *.ls

> > > t 화일들을 사용할려면 어떤 함수를 사용하나요??

> > >

> > >

> > >

[Top]
No.
제목
작성자
작성일
조회
2236# MySQL 에라 질문입니다.
유병군
2000-06-23
2511
2239┕>Re: # MySQL 에라 질문입니다.
정재익
2000-06-23 15:00:40
2788
2223gd graphic library 설치시 error, 도와주세여
임경모
2000-06-22
2847
2235┕>Re: gd graphic library 설치시 error, 도와주세여
박승홍
2000-06-23 11:07:10
2785
2221비밀번호를 암호화 해서 필드에 저장하는 방법은 없나여... 당췌궁금함메다.
kang
2000-06-22
2540
2224┕>Re: 비밀번호를 암호화 해서 필드에 저장하는 방법은 없나여... 당췌궁금함메다.
박승홍
2000-06-22 17:50:37
2803
2220# oracle에서 start와 같은 mysql 함수는요?
김민수
2000-06-22
2498
2222┕>Re: # oracle에서 start와 같은 mysql 함수는요?
박승홍
2000-06-22 17:14:42
3071
2231 ┕># 감사합니다. 근데 \이 없어요..ㅠ.ㅠ
김민수
2000-06-22 18:54:07
2730
2232  ┕>Re: # 감사합니다. 근데 \이 없어요..ㅠ.ㅠ
박승홍
2000-06-22 19:37:45
2711
2219mysqldump를 이용하는 방법을 알려주세요...^^
몽당연필
2000-06-22
2774
2227┕>Re: mysqldump를 이용하는 방법을 알려주세요...^^
정재익
2000-06-22 18:00:43
3478
2216ERROR 2002:Can't connect to local MySQL serever through socket
인범진
2000-06-22
2589
2226┕>Re: ERROR 2002:Can't connect to local MySQL serever through socket
정재익
2000-06-22 17:59:16
3202
2215# 접근 권한 문제입니다. 아시는 분좀 답변좀..하도 특이한 경우라..
이성안
2000-06-22
2588
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.024초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다