차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
tech:mysql [2014/03/19 02:37] – 바깥 편집 127.0.0.1 | tech:mysql [2019/04/04 03:09] (현재) – [참조 문서] V_L | ||
---|---|---|---|
줄 1: | 줄 1: | ||
+ | {{tag> | ||
======Mysql====== | ======Mysql====== | ||
MySQL은 DBMS DataBase Management System 로서.. DB를 구성하고 이를 다루기 위해 구성된 시스템이죠.. | MySQL은 DBMS DataBase Management System 로서.. DB를 구성하고 이를 다루기 위해 구성된 시스템이죠.. | ||
줄 117: | 줄 118: | ||
+ | ====삭제==== | ||
+ | delete from ABCDE where no=' | ||
+ | ' | ||
- | =====root 비번 잃었을때===== | + | delete from ABCDE where no>3 |
+ | ' | ||
+ | |||
+ | |||
+ | delete from ABCDE where no<> | ||
+ | ' | ||
+ | |||
+ | |||
+ | delete from ABCDE where wdate> | ||
+ | ' | ||
+ | 정렬시켜서 상위 30 개를 삭제한다. | ||
+ | |||
+ | |||
+ | delete from ABCDE where tbody like ' | ||
+ | ' | ||
+ | |||
+ | |||
+ | delete from ABCDE where tbody like ' | ||
+ | ' | ||
+ | ' | ||
+ | |||
+ | =====기타===== | ||
+ | |||
+ | ====명령어로 가져오기==== | ||
+ | |||
+ | Your best bet is to FTP it to the server and then ssh in (command line) and import the database that way. The resulting command will look something like: | ||
+ | |||
+ | mysql -hlocalhost -uUser -pPassword database_name < file_name | ||
+ | |||
+ | That way you can completely bypass any file upload or processing time restrictions. | ||
+ | |||
+ | |||
+ | ====root 비번 잃었을때==== | ||
DB에 접속 후 | DB에 접속 후 | ||
줄 142: | 줄 178: | ||
# mysqld restart | # mysqld restart | ||
</ | </ | ||
- | ^ 누구나 수정하실 수 있습니다. | ||
- | {{tag> | + | ====먹통==== |
+ | |||
+ | start: Job failed to start. | ||
+ | http://dev.mysql.com/ | ||
+ | |||
+ | | ||
+ | http:// | ||
+ | |||
+ | |||
+ | http:// | ||
+ | |||
+ | =====상태 보기===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | Probably the most common reason for a thread to stay with either killed or query end for a longer period of time is waiting for a transaction rollback on InnoDB tables. This sometimes can take a lot of time to complete, especially when hundreds of thousands or millions of changes have to be removed. | ||
+ | |||
+ | ===== 참조 문서 ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * INNODB 상태 보기 : '' | ||
+ | * 현재 처리중인 프로세스 목록 : '' | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// |