IT 인프라, 개발15 [MariaDB] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) EC2 mysql -uroot failed with error 2002 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) -> in my case mariadb service was inactivated because I stopped and restart the instance -> so I ran commands systemctl enable mariadb systemctl start mariadb 2022. 6. 17. [Amazon Web Service] Amazon Connect to RDS RDS 인스턴스 생성 후 첫 접속 간단하게 요약하면 다음과 같다. 1. RDS 인스턴스 생성 2. RDS 네트워크 보안 설정 추가 (EC2 인스턴스가 접근할 수 있도록 규칙 추가) 3. RDS에 원격 연결(SSL 보안 접근) 1.RDS 인스턴스 생성 생성할 때 master user와 master password를 설정하는데 처음 접속할 때 꼭 필요한 정보니 기억해둬야한다. 2. RDS 인스턴스에 접근할 수 있도록 네트워크 보안 설정을 해줘야한다. RDS 인스턴스가 속한 가상 사설 클라우드 보안 그룹(VPC Security Group,sg)에 inbound rule을 추가했다. inbound rule 에 RDS에 접속하고자 하는 ec2 인스턴스가 속한 VPC로부터의 접근을 허용하는 룰을 추가한다. AWS .. 2022. 6. 16. [Amazon Web Service] EC2(Elastic Cloud Computing) 설명서 정리/따라하기 웹 서비스 운영을 위한 리눅스 웹서버를 클라우드 환경에서 배포합니다. 공식 설명서에 따라 서버 구축 과정을 기록하고 영어로 돼있는 공식 문서를 한국어로 정리 해볼까 합니다. 참고 문서 1)AWS, Amazon Elastic Compute Cloud, https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html 2022. 6. 15. [ReactNative] error :Duplicate class androidx.appcompat.... A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable > Duplicate class androidx.appcompat.content.res.AppCompatResources found in modules appcompat-1.0.2-runtime (androidx.appcompat:appcompat:1.0.2) and jetified-appcompat-resources-1.3.1-runtime (androidx.appcompat:appcompat-resources:1.3.1) problem about Libary depwndencies for me androidx.appcompat.. 2022. 6. 15. [ReactNative]pod install error mac os regarding error message LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle It occurs when I tried to "pod install" for react-native app I can find soluti.. 2022. 5. 27. [React Native Track Player,RNTP]Troubleshooting App force close after use await TrackPlayer.setupPlayer(); I think it want problem with TargetSDKVersion 31. Target SDK 버젼과 호환성 문제로 앱 강제 종료 현상 발생 Node js console 엔 로그가 남지 않고 비정상 종료 안드로이드 스튜디오에서 빌드하고 logcat 으로 로그를 확인할 수 있었다 에러 로그는 다음과 같았다. Caused by: java.lang.IllegalArgumentException: com.we_read_app: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be spec.. 2022. 5. 27. 이전 1 2 3 다음