php 관련 개발할께 있어서 환경 설정중에 디비 연결 에러가 나타났다.. 이미 많은 사람들이 겪고 있는것인거 같다... 구글링 해보니까 많은 문제가 있었다. Mysql8.0 인증방식이 chching_sha2_passwrd 가 되어야되지만 php에선 아직 대응하고 있지 않다.. 그래서 인증방식을 변경시켜줘야된다. mysql> alter user dev@localhost identified with mysql_native_password by 'password'; 예시로 mysql id : root password : 1234 mysql> alter user root@localhost identified with mysql_native_password by '1234';