mysql2 mysql - 중요 테이블 백업파일 aws s3에 업로드하기 맥북기준 서버는 aws 리눅스 ec2. (빈스톡은 설정에 따라 인스턴스가 바뀌니까 이 방법 ㄴㄴ) mysql 주요 테이블의 dump를 압축하여 s3로 업로드하는 스크립트를 짜고, 이걸 젠킨스 잡에서 주기적으로 실행시키는 걸 해볼 거다 참고로 테이블 스키마(구조)만 export하고싶으면https://stackoverflow.com/questions/6175473/mysql-export-schema-without-data MySql export schema without dataI'm using a MySql database with a Java program, now I want to give the program to somebody else. How to export the MySql database.. 2021. 12. 16. mysql limit Select * from article order by article_no desc limit 4,2 : order by article_no desc에 따라 게시글번호 내림차순으로 정렬내림차순으로 정렬하면 9~1순으로 정렬됨Limit 4,2 ➡️ 인덱스4부터 2개의 레코드인 article_no 5,4를 읽어옴Limit 6,3 ➡️ 인덱스6부터 3개의 레코드인 articla_no 3,2,1을 읽어옴 2020. 12. 19. 이전 1 다음