채택완료

테이블만 복구 시킬려고 하는데 좀 봐주세요.

2019-10-22 (화) 17:14:00 3,904

g5_content.sql 테이블만 복구 시킬려고 하거던요...

24메가라 phpMyAdmin 에서는 업로드 용량 늘려도 안되더라구요.

mysql -uaaa01 -p aaa01 g5_content < g5_content.sql

이렇게 하니깐 

This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Usage: mysql [OPTIONS] [database]
  -?, --help          Display this help and exit.
  -I, --help          Synonym for -?
  --auto-rehash       Enable automatic rehashing. One doesn't need to use
                      'rehash' to get table and field completion, but startup
                      and reconnecting may take a longer time. Disable with
                      --disable-auto-rehash.

.

.

.

.

.
이런 내용들이 주루룩 나오는데 뭐가 잘못된건가요?

|

답변 3개 / 댓글 2개

채택된 답변
+20 포인트
2019-10-22 (화) 18:01:33

mysql -u아이디 -p 디비명 < g5_content.sql 엔터

password : 패스워드 입력

패스워드가 혹시라도 복잡하게 되어 있을 땐 패스워드만 따로 입력하게 하는 게 편해요.

history에도 남고 해서...

mysql -uaaa01 -p aaa01 DB명 g5_content < g5_content.sql

mysql -u aaa01 -p aaa01 g5_content < g5_content.sql

이렇게 해보시면 되실겁니다.

답변에 대한 댓글 2개

2019-10-22 (화) 17:31:09
이렇게 해도 똑같은 메세지만 나오네요...
아 db명이 빠졌네요 db명선언후 테이블명 입니다.

답변을 작성하려면 로그인이 필요합니다.