[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를 다시 실행해준다ㅠ.