차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판다음 판양쪽 다음 판 | ||
tech:mysql [2014/03/19 02:37] – 바깥 편집 127.0.0.1 | tech:mysql [2016/07/12 09:26] – 바깥 편집 127.0.0.1 | ||
---|---|---|---|
줄 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 | ||
</ | </ | ||
+ | |||
+ | ====먹통==== | ||
+ | |||
+ | start: Job failed to start. | ||
+ | http:// | ||
+ | |||
+ | | ||
+ | http:// | ||
+ | |||
+ | |||
+ | http:// | ||
^ 누구나 수정하실 수 있습니다. | ^ 누구나 수정하실 수 있습니다. | ||
- | {{tag> | ||