[MySQL] sql_mode=only_full_group_by 에러 해결 방법
·
Development/MySql
에러 내용 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'LG_NAVER_FINANCE.naver_finance_db.sd_idx' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'DB명.테이블명' which is not functionally dependent on ..
[VSC] sftp 접속하기
·
Development
확장에서 sftp 설치하기 ssh에 설치 되므로, ssh가 설치되어있어야한다. [wsl 기준] sudo apt-get install ssh sftp.json 파일 설정 ctrl+shift+P 또는 f1을 눌러서 sftp config를 연다. 서버이름, host, username, password, remotepaht 입력한다. protocol은 sftp, port는 22로 고정이다. uploadOnSave를 true로 하면 파일을 저장했을 때 서버에 바로 반영된다. (서버에 저장) { "name": "서버이름", "host": "host", "protocol": "sftp", "port": 22, "username": "계정이름", "password": "계정비밀번호", "remotePath": "접속할..
PHP 로그에 소스코드가 출력될 때
·
Development/PHP
php 실행 로그를 찍었을 때 소스코드가 그대로 출력되는 경우가 있다. 서버에 설치는 되어있는데, 정상적으로 설치되어있는지 확인이 필요하다. phpinfo()실행 phpinfo()를 먼저 실행해본다. 실행해보니 오류가 발생한다. 찾아보니 timezone을 설정하면 된다고 한다. (설정 후 다시 업데이트) http://idchowto.com/php-timezone-%EC%97%90%EB%9F%AC/ php timezone 설정 - 스마일서브 IDCHOWTO닷컴 Warning: phpinfo(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the da..
fastestmirror, langpacks
·
카테고리 없음
fastestmirror, langpacks 해당 에러는 네트워크 관련 문제라는데.. nmcli d 명령어를 실행해보니 네트워크 관리 프로그램이 실행 중이 아니라고 한다. NetworkManager.service를 다시 실행해준다ㅠ.
429 Too Many Requests
·
Development
특정 시간동안 처리할 수 있는 속도를 초과할 경우 발생하는 오류처리량에 제한이 있나보다.. 첨보는 에러라서 기록. 크롤링하면서 발생했던 오류이다. 보통 500, 304, 404, 503, 403 은 많이 봤었는데 429 너 뭔데. 이름에서 바로 느껴지긴하지만 숫자코드는 나름 생소하다. HTTP 429 “Too Many Requests”란?사용자가 일정 시간 안에 너무 많은 요청을 서버로 보냈을 때 발생하는 상태 코드 원인API 또는 웹사이트에서 허용하는 요청 빈도(속도 제한, Rate Limit)를 초과했을 때봇, 스크립트, 반복 새로고침, 프로그램적으로 과도한 요청이 발생할 때서버가 자신을 보호하기 위해 일시적으로 추가 요청을 차단할 때이 에러가 발생하면 서버는 클라이언트가 일정 시간 지난 뒤 다시 시..