Programming/Error Log


    728x90
    반응형

    [Node.js] MySQL 8.0 연동 에러: ER_NOT_SUPPORTED_AUTH_MODE

    ❌ Node.js 실행 중에 발생한 에러 Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client at Handshake.Sequence._packetToError MySQL 버전이 8.0일 때 발생한다.외부에서 사용할 수 있게 비밀번호를 설정하는 과정이 필요하다고 한다. ⭕ 해결 방법 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '1234' 'root': MySQL 아이디 입력하기 'localhost': MySQL 주소 입력하기 (또는 %..

    [Node.js] DB 연결 에러: database.collection is not a function

    do it node.js 교재로 공부를 하던 중 발견한 에러. (220p) 내가 가지고 있는 교재가 2017년 판이라 최신 버전에 맞지 않는 부분이 간혹 존재한다. 몽고DB 연결 도중 발견한 문제! DB 연결 소스코드 // DB 연결 var MongoClient = require('mongodb').MongoClient; var database; function connectDB() { var databaseUrl = 'mongodb://localhost:27017/local'; MongoClient.connect(databaseUrl, function(err, db) { if(err) throw err; console.log('database connect', databaseUrl); database ..

    [Eclipse] java.lang.ClassNotFoundException: com.fasterxml.jackson.annotation.JsonProperty 에러

    다음처럼 Handler processing failed; nested exception is java.lang.ClassNotFoundException: 에러가 발생한다면? 9월 03, 2020 5:58:42 오후 org.apache.catalina.core.StandardWrapperValve invoke 심각: Servlet.service() for servlet [action] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonProperty$Access] with roo..

    [IntelliJ] Test 에러 FAILURE: Build failed with an exception. 'error: cannot find symbol'

    인텔리제이를 사용하다가 Gradle Test를 진행했는데 개별로 테스트를 했을 땐 나지 않았던 에러가 빵빵! 나타났다. Testing started at 오후 8:14 ... Starting Gradle Daemon... Gradle Daemon started in 2 s 780 ms > Task :compileJava D:\Project\webservice\src\main\java\com\yjin\fws\webservice\config\auth\CustomOAuth2UserService.java:43: error: cannot find symbol attributes.getAttributes(), ^ symbol: method getAttributes() location: variable attribu..

    [Spring] 스프링, MySQL 에러 'caching_sha2_password', 'query_cache_size'

    스프링에서 자꾸 이러한 에러가 난다. Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'. 이것저것 해보고 MySQL을 다시 지웠다 깔기도 해봤지만 해결하지 못하고,, 구글링을 하다가 겨우 에러를 해결했다. MySQL Workbench에서 Server-Users and Privileges에 들어가면 이런식으로 Authentication Type이 caching_sha2_password라고 뜨는 것을 확인할 수 있다. 1. MySQL이 설치된 폴더 속 Server의 bin 폴더에서 cmd를 실행한다.(기본 cmd창에서는..

728x90
반응형