일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
- escaped
- Homebrew
- 대소문자 구별
- Regular Expressions
- databases
- whitespace
- runserver
- bitbucket
- New Line
- 딸라표시
- Terminal
- whitespace characters
- Case sensitive
- MongoDB
- matches any character
- 정규표현식
- MySQL
- square brackets
- NoSQL
- dollar sign
- sensitive
- mongo
- Regex
- literal
- GIT
- backslash
- point
- Regexp
- MAC
- 꺽쇠
- Today
- Total
목록MySQL (2)
Creaticalmind
Django Mysql 연동방법 1. mysql설치 방법은 아래와 같습니다. https://creaticalmind.tistory.com/21?category=709469 2. django 프로젝트에서 pip를 이용해서 mysqlclient 설치 $ pip search mysqlclient $ pip install mysqlclient==1.4.1 3. django project 안에 있는 setting.py 수정 기본 세팅값을 MySQL 세팅값으로 변경 setting.py - 기본 세팅값 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } - My..
homebrew를 이용해서 mysql 설치를 해보도록 하자 1. 당연히 homebrew는 설치가 되어 있어야 한다. homebrew설치 >>> https://brew.sh/index_ko.html터미널 열고, 따라가면 된다. 2. mysql 설치 $ brew update - 설치명령어$ brew install mysql - 서버 시작 명령어$ mysql.server start - 간편보안 설정 명령어$ mysql_secure_installation VALIDATE PASSWORD PLUGIN can be used to test passwordsand improve security. It checks the strength of passwordand allows the users to set only th..