제가 Express를 잘 다루지 못해 SpringBoot로 RDS 연결을 하려고 하는데 계속 오류가 발생합니다. DBeaver까진 잘 연동되고 seohaen이라는 DB도 새로 만들어주었습니다. SpringBoot에서도 DB는 잘 연동되는데 이상하게 Run만 하면 오류가 발생하네요 혹시 몰라서 yml 파일과 build.gradle 첨부합니다! application.yml server: port: 80 management: endpoints: web: exposure: include: health spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://seohaen-db.cti8ki...(RDS 엔드포인트 넣었습니다)3306/seohaen(DBeaver에서 새로 만든 DB이름을 넣었습니다.) username: RDS에서 설정한 이름 password: RDS에서 설정한 비밀번호 jpa: show-sql: true hibernate: ddl-auto: update properties: hibernate: format_sql: true open-in-view: false database-platform: org.hibernate.dialect.MySQL8Dialect build.gradle dependencies { // 헬스 체크를 위한 라이브러리 implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' //RDS implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-jdbc' runtimeOnly 'com.mysql:mysql-connector-j' testImplementation 'org.springframework.boot:spring-boot-starter-test' } 오류내용 Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2025-06-04T21:38:09.446+09:00 ERROR 6699 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
안녕하세요. 교재 p.30 에 대해 질문 드립니다. 해당 페이지를 보면 local router에서 전달된 frame에서 다시 packet을 복원 후, 다음 router로 전달하기 위한 새로운 frame을 다시 만드는 과정이 나와 있는데요. 질문> router에서는 전달 받은 frame으로부터 packet을 복원하는 과정과 복원된 packet을 보고 내가 전달해야할 router 도는 switch를 위한 frame을 새롭게 만드는 과정이 모두 일어나는 것이 맞나요?
안녕하세요. 해당 강의 p.26 과정에서 헷갈리는 점이 있어 질문드립니다. 1. 대상 ip가 로컬이 아닌 것을 식별하는 과정을 network 계층(layer 3)에서 일어나는 것이 맞나요? 2. 라우터의 ip는 알지만 mac 주소를 모르므로 ARP를 활용할 때는 switch를 통해 일어나므로 해당 과정은 data link 계층(layer 2)에서 일어나는 것이 맞나요? 3. 2.의 과정을 통해 라우터의 mac 주소를 찾고나면 p.22에 나온 것처러 ip-mac pair를 저장하는 table에 등록해야 하는데, 이 때 ip-mac pair들을 기록하는 table은 어디에 존재하는 것인가요?
✅ 프리티어(Free Tier)란? 계정을 새로 가입하시면 1년 동안 프리티어(Free Tier) 혜택을 받으실 수 있습니다. 프리티어에 대한 자세한 설명은 아래 링크 참고 부탁드립니다. - 링크 : https://tech.cloud.nongshim.co.kr/2018/10/10/aws-%ED%94%84%EB%A6%AC%ED%8B%B0%EC%96%B4free-tier-%EC%84%9C%EB%B9%84%EC%8A%A4/ 링크 글이 사라진 건지 링크 주소가 바뀐 건지 모르겠는데 혹시 이 글인지 모르겠네요 https://tech.cloud.nongshim.co.kr/blog/aws/1347/
800명이 넘는 AWS 강의실 오픈채팅방 에 오시면 더 좋은 답변을 실시간으로 받아보실 수 있습니다. 질문내용은 상세하고 자세하게 부탁드립니다. 예시 : "Amazon EC2의 t2.micro 타입으로 Amazon Linux 2023타입으로 퍼브릭 서브넷에 프로비전 했습니다. 키페어와 같이 프로비전해서 SSH로 접속하고 싶은데 접속 요청시 Timeout이 발생합니다. 어디를 확인하면 될까요?" demo-sqs-ec2-image-resize.zip 에 readme랑 yml 파일이 없어요
안녕하세요. TypeORM 마이그레이션 실습에서 아래와 같은 typeorm.ts 파일을 작성했습니다. import { registerAs } from '@nestjs/config'; import { DataSource, DataSourceOptions } from 'typeorm'; const config = { type: 'postgres', host: `${process.env.DB_HOST || 'localhost'}`, port: parseInt(`${process.env.DB_PORT || '5432'}`, 10), username: `${process.env.DB_USERNAME || 'test'}`, password: `${process.env.DB_PASSWORD || 'test'}`, database: `${process.env.DB_DATABASE || 'inflearn'}`, entities: ['dist/**/**/*.entity{.ts,.js}'], migrations: ['dist/migrations/*{.ts,.js}'], autoLoadEntities: true, synchronize: false, }; export default registerAs('typeorm', () => config); export const connectionSource = new DataSource(config as DataSourceOptions); 이 때, autoLoadEntities: true 항목이 있음에도, entities: [] 항목이 있어야 할 필요가 있나요? 없어도 코드 동작에 차이가 없는 것인가요? 앞선 강의에서 autoLoadEntities: true 인 경우, entities: [] 를 따로 설정하지 않아도 된다는 내용이 있었던 것 같아서 헷갈립니다. 감사합니다.
[실습]3. 파라미터 그룹 추가하기 강의 시청 중 궁금한 점이 생겨 질문 글 남깁니다. RDS 파라미터 그룹의 설정값들은 어느 정도 보편적으로 권장되는 값들이 정해져 있는 건가요? (예시) time_zone : 서울로 바꾸기, collation_connection : utf8mb4_unicode_ci 등 강의에서는 설정 기준이 명확한데, 혼자 하려면 뭘 어떻게 설정해야 할지 전혀 감이 안 잡힙니다..ㅠㅠ 혹시 실무에서 일반적으로 약속된 기준 같은 게 있나요?