일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 설치
- 아두이노
- html5
- 예제
- oracle
- s4a
- 유니티
- mysql
- 설정
- 시작하기
- 파주
- 강좌
- 톰캣
- 오라클
- librecad
- Spring Security
- 안드로이드
- jobtoy
- 라즈베리파이
- 코딩
- MSSQL
- jsp
- 스크래치
- 리브레캐드
- Unity
- 잡토이
- tomcat
- 잡토이 메이킹 코딩 학원
- 운정
- Android
Archives
- Today
- Total
랩제이
[spring security] MySQL DB 생성하기 본문
1. 프로젝트 database 설정하기
[spring security] MySQL DB 생성하기
Database 접속 정보는
/project-sample1/src/main/resources/properties/jdbc.properties 에 선언되어 있습니다.
username = dbuser, password = !password 입니다.
2. MySQL Workbench를 실행하고 Server > Data Import를 선택합니다.
3. Import from Self-Contained File에서 Dump20140823.sql을 선택합니다.
4. Start Import 를 누릅니다.
5. Refresh All을 눌러줍니다.
6. 접속할 유저를 생성해 줍니다.
grant all privileges on *.* to 'dbuser'@'localhost' identified by '!password' with grant option;
grant all privileges on *.* to 'dbuser'@'%' identified by '!password' with grant option;
7. 접속 테스트를 합니다.
[spring security] MySQL DB 생성하기
'programming > spring_security' 카테고리의 다른 글
[spring security] HTML 페이지에서 Controller 주소 요청하고 Data 받기 (0) | 2014.08.27 |
---|---|
[spring security] 로그인 디버깅하기 (0) | 2014.08.27 |
[spring security] 프로젝트 디버그로 실행하기 (0) | 2014.08.23 |
[spring security] 프로젝트 import하기 (0) | 2014.08.23 |
[spring security] 기본 코드 붙이기 (0) | 2014.08.23 |