[android] java.io.ioexception: cleartext http traffic to not permitted 해결 방법
·
내맘대로/안드로이드
1.manifest에 추가 - - - 2.res/xml/network_security_config.xml 파일 생성 후 코드 작성 참고 블로그 https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted Android 8: Cleartext HTTP traffic not permitted I had reports from users with Android 8 that my app (that uses back-end feed) does not show content. After investigation I found following Exception happening on Android 8: 08-29..
Access denied for user 'root'@'localhost' mysql root 접속 안될 때
·
내맘대로/오류모음
1.$ sudo mysql -u root # sudo를 사용하여 root계정으로 mysql에 접속한다. mysql> USE mysql; mysql> SELECT User, Host, plugin FROM mysql.user; 위처럼 root의 plugin이 auth_socket으로 설정되어있는것을 확인할 수 있다. 이 값을 mysql_native_password로 변경해주면 일반적인 로그인이 가능하다. mysql> update user set plugin='mysql_native_password' where user='root'; mysql> flush privileges; mysql> select user, host, plugin from user; mysql> exit; Bye 참고블로그 https:..
크롤링
·
프론트엔드
태그 분석 개발자 도구 - 태그에서 마우스 오른쪽 copy - copy js path
[aws ubuntu18.04LTS] sitemap.xml 만드는 방법
·
내맘대로/웹
1.홈페이지 이동 https://www.xml-sitemaps.com/ 2.내 홈페이지 주소(도메인) 작성 3.옵션 설정 4.다운로드 받기 5.다운로드 받은 것들 aws root경로에 옮기기 참고 사이트 https://www.twinword.co.kr/blog/3-different-ways-to-generate-and-submit-sitemap/ 사이트맵을 쉽게 만드는 3가지 방법과 제출하는 방법 검색엔진의 크롤링과 색인을 도와주는 사이트맵을 쉽고 빠르게 만들 수 있는 세가지 방법과 사이트맵을 검색엔진에 제출하는 방법을 알아봅니다. www.twinword.co.kr
[aws ubuntu18.04LTS] mysql 재실행 문제
·
내맘대로/오류모음
MySQL) Error 2002, 잘 접속되던 MySQL 접속이 안 되는 문제... mysqld.conf 의 #default-character-set=utf8 #default-collation=utf8_general_ci 주석처리 후 mysql 재실행 재실행 후 다시 mysqld.conf에 2개 추가 MySQL) Error 2002, 잘 접속되던 MySQL 접속이 안 되는 문제... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 원인1: mysql-server가 안깔렸거나 원인2: mysql-server가 깔렸지만 구동이 안되어 있는 경우, 원인.. lovelydi..
[aws ubuntu18.04LTS] html 파일의 php코드 인식하기
·
내맘대로/오류모음
1. $sudo nano /etc/apache2/mods-enabled/mime.conf 2. ctrl + w 로 addType 찾기 addtype찾은 후 그 밑에다가 복붙하기 AddType application/x-httpd-php .php .phtml .html .htm 3.저장 ctrl + o 엔터 4.재실행 sudo service apache2 start