오류해결
-
MySQL: incorrect String, insert into오류오류해결 2020. 9. 23. 14:18
insert into를 사용하여 table에 새로운 data를 입력할 때 발생한 오류이다. 오류발생 코드: INSERT INTO actor (first_name, last_name, last_update) VALUES ('길동', '홍', now()); [해결법 1: 테이블 설정변경] 아래와 같이 설정한다. [해결법 2: 'my.ini' 파일 수정] 파일위치: C:\ProgramData\MySQL\MySQL Server 5.7 수정내용: [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] collation-server = utf8_unicode_ci init-connect='SET NAMES utf8' init_c..
-
Spring boot오류해결: port was already in use오류해결 2020. 9. 6. 15:57
1. 포트번호를 8081로 변경 src - main - resources - application.properties server.port=8081 출처: https://www.baeldung.com/spring-boot-change-port 2. cmd taskkill 활용 1) cmd 실행 2) netstat -ano 실행 3) 8080포트를 사용하고 있는 프로토콜의 PID 확인 4) taskkill pid /f 실행 ex: taskkill pid 4400 /f 4)-1 해당 PID에 접근이 거부 될 경우(access was denied) 해결방법: https://processhacker.sourceforge.io/