일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- zshrc
- 컨테이너
- iterm2 shortcuts
- 빅오노테이션
- zsh
- terraform
- BIG-O NOTATION
- sftp란
- 파이썬
- DynamoDB
- Bash
- customize
- Django
- AWS
- test
- 도커컴포즈
- nosql
- terraform 문법
- minikube mac 설치
- minikube 설치 방법
- docker-compose
- docker
- 도커
- 테라폼 문법
- Shell
- linux
- python
- server
- 테라폼 기본 문법
- iterm2 단축키
- Today
- Total
목록MySQL (3)
sklass의 s-class 프로그래밍 blog
Ubuntu 에서 pip install mysqlclient 를 실행하면, 아래와 같은 에러가 날 수 있다. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 이런 경우에는 아래의 명령어를 실행 후 다시 한번 pip install mysqlclient를 하면 정상 작동한다. $ sudo apt-get install libmysqlclient-dev
MacOS 에서 mysql 설치 시 pip install mysqlclient 명령어를 입력하였을 때, 아래와 같은 에러가 나는 경우가 있다. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command '/usr/bin/gcc' failed with exit code 1 이는 xcode-select 경로가 없는 문제로, 아래의 명령어로 xcode-select 를 설치해주어야 한다. $ xcode-select --install 다시 pip install mysqlclien..
로컬 MySQL에서 AWS에서 제공하는 RDS MySQL로 데이터베이스를 교체하려 할 때, 현재 로컬 DB의 데이터를 RDS로 복사를 시켜야 하는 경우가 있습니다. 그런 경우 아래와 같이, mysqldump 명령어를 사용하여 처리하면 됩니다. $ mysqldump -u \ --databases \ --single-transaction \ --compress \ --order-by-primary \ --routines=0 \ --triggers=0 \ --events=0 \ --no-tablespaces \ -p | mysql -u \ --port= \ --host= \ -p 사용되는 옵션들은 다음과 같습니다. -u : 로컬 MySQL의 유저 name을 입력합니다. --databases : 로컬 MySQL..