본문 바로가기

컴퓨터 일반

(33)
MYSQL 열 초기화 https://amaze9001.tistory.com/28 [mySQL] AUTO_INCREMENT 값 초기화 오늘은 mySQL AUTO_INCREMENT 값을 초기화 하는 방법을 소개하려고 합니다. 아래는 [heidiSQL] 화면인데요, 선택할 수 있는 기본값의 종류입니다. 그 중, 맨 아래에 있는 아이가 오늘 소개할 AUTO_INCREMENT 에요.. amaze9001.tistory.com 줄바꿈 https://dasima.xyz/php-echo-%EC%A4%84%EB%B0%94%EA%BF%88-4%EA%B0%80%EC%A7%80-%EB%B0%A9%EB%B2%95-%EC%A0%95%EB%A6%AC/ PHP echo 줄바꿈 4가지 방법 정리 - SOFT HIVE PHP echo 줄바꿈 방법은 소스코드에..
vscode다루기 https://jcon.tistory.com/91 VS Code 확장 기능(Extensions) Korean Language Pack for Visual Studio Code 한글화 확장 기능 Prettier 가장 대중적으로 쓰이는 코드 포멧터 기본 설정 방법 : 컨트롤 + , 를 누른 후 formatOnSave검색 후 체크 설정이 완료 되면 저장 시 마다.. jcon.tistory.com 지동저장할 때 // Set the default "editor.formatOnSave": false, // Enable per-language "[php]": { "editor.formatOnSave": true, //아래 문장을 삭제하면 defaultFomattor삭제 } 이런 옵션 줬다. https://market..
[리눅스] PHP MYSQL연동시 MYSQL이 PHP의 정보를 알고 있어야 한다. 모듈설치 관련 정보 php모듈 설치 https://idchowto.com/?p=16322 https://xinet.kr/?p=286 https://www.onlab.kr/2014/10/15/php-extension-mysqli-%EC%84%A4%EC%B9%98/ PHP extension - mysqli 설치 - Onlab PHP extension - mysqli 설치 www.onlab.kr 공식 문서 https://www.php.net/manual/en/mysqli.installation.php PHP: Installation - Manual >On Windows, PHP is most commonly installed using the binary ins..
[MySQL] MYSQL설치관련 https://salix97.tistory.com/141 MySQL에서 로그인 안 될 때 내가 쓴 방법 # killall mysqld # mysqld_safe --skip-grant-tables & 이 두개를 썼더니 로그인 되었다. https://babytiger.tistory.com/entry/mysql%EC%97%90-%EB%A1%9C%EA%B7%B8%EC%9D%B8%EC%9D%B4-%EC%95%88-%EB%90%A0-%EA%B2%BD%EC%9A%B0 mysql에 로그인이 안 될 경우 1. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) mysql -u 사용자 >> mysql -u 사용자 -p 비번 o..
[리눅스] Apache설치 관련 자료 https://salix97.tistory.com/142?category=837576 Ubuntu 18.04 + Apache 2.4.41 + PHP 7.4.1 수동설치하기 Ubuntu 18.04 OS 위에 Apache 2.4.41 컴파일 설치를 완료했다. * 우분투에 아파치와 MySQL 을 설치하는 방법은 이전 글을 참고 이전 글 1 : 우분투에 아파치 수동설치 하기 이전 글 2 : 우분투 아파치 서버�� salix97.tistory.com Apache설치관련 - 1. configure File https://httpd.apache.org/docs/2.4/programs/configure.html#installationdirectories configure - 소스 트리를 구성한다 - Apache HTT..
[리눅스] php설치 PHP설치시 생기는 2가지 문제 해결 1 문제 상황. 1-1. libxml-2.0 ubuntu 1-2. no package sqlite3 found ubuntu 의존성 문제 ./configure로 의존성 먼저 확인 checking for GLIB... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. 로 나오지만 사실 자세히 읽어보면 - libxml2-dev의 문제이다. 1-1. libxml2-dev패키지 해결책 https://m.blog...
리눅스 정리 1. 리눅스 설치하기 https://recipes4dev.tistory.com/116 VMware Tools 설치 및 업그레이드 방법. (How to install and upgrade the VMware Tools.) 1. VMware Tools 이전 글 [VMware에 우분투 리눅스(Ubuntu Linux) 설치하기]에서 VMware에 우분투 리눅스(Ubuntu Linux)를 설치하는 방법에 대해 설명하였습니다. VMware Workstation Player(버전 12)에 가상 머신.. recipes4dev.tistory.com 2. 부가작업 - 한영전환하기 https://webnautes.tistory.com/1199 Ubuntu 18.04 설치 완료 후 한글 설정하는 방법 Ubuntu 18.04 ..
[데이터베이스] php mysqli_connect: authentication method unknown to the client [caching_sha2_password] 에러 코드 : php mysqli_connect: authentication method unknown to the client [caching_sha2_password] 문제 상황 : MySQL8.0과 php연동 오류 MySQL8.0과 php를 연동해서 웹 페이지를 띄우는데 php mysqli_connect: authentication method unknown to the client [caching_sha2_password]와 같은 문구와 에러가 떴습니다. 에러의 원인으로는 PHP mysqli connector이 caching_sha2_password를지원안한다는내용입니다.(자세한 내용은 아래를 참조하세요.) https://mysqlserverteam.com/upgrading-to-mysql-8-0..