[DB]2 [DB 이관하기] H2-console -> mysql로 변경하기 1. build.gradle 추가 및 변경하기 2. properties 추가 및 변경하기 -. id/계정 관련 확인해서 변경하기 -. 테이블명 확인하기 3. h2idiSQL로 DB 생성하고 테이블 생성하기 ex) build.gradel -> 변경후 새로고침 필수 dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' testImplementation 'org.springframework.boot:spring-boot-starter-test' //추가 developmentOnly 'org.springframework.boot:spring-boot-devtools' compileOnly 'org.projectlombok.. 2024. 1. 30. DB 테이블 실습 조건 -. 버추얼박스에 MARIA DB 서버 생성함 * 로컬 PC 실행해서 MARIA DB 서버로 접근하여 실습 진행 1.C:\Users\YONSAI>ssh vuser@localhost 2.vuser@localhost's password: 비밀번호 입력 3. vuser@ubuntu:~$ sudo mariadb 4. [sudo] password for vuser: 비밀번호 입력 5.MariaDB [(none)]> show databases 출력 : +--------------------+ | Database | +--------------------+ | Chatbot | | Mydata | | information_schema | | mysql | | performance_schema | | sys | .. 2023. 12. 5. 이전 1 다음