테스트 사이트 - 개발 중인 베타 버전입니다

호스팅 옮기고 에러가 나서 질문 드립니다. 채택완료

세부킹실장 10개월 전 조회 2,289

닷홈에서 닷홈으로 디비를 옴겼는데 에러가 나네요.

 

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'abc1472'@'localhost' (using password: YES) in /hosting/cebuking1004/html/lib/common.lib.php:1528 Stack trace: #0 /hosting/cebuking1004/html/lib/common.lib.php(1528): mysqli_connect() #1 /hosting/cebuking1004/html/common.php(153): sql_connect() #2 /hosting/cebuking1004/html/_common.php(2): include_once('...') #3 /hosting/cebuking1004/html/index.php(2): include_once('...') #4 {main} thrown in /hosting/cebuking1004/html/lib/common.lib.php on line 1528

 

디비는 정상적으로 옴겼고 사이트는 통으로 다운받아서 설치했습니다.

디비 설정시 dbconfig 에서 설정변경 했구여.

 

어떤부분이 틀렸는지 지적좀 해주세요.

감사 드립니다~

댓글을 작성하려면 로그인이 필요합니다.

답변 6개

채택된 답변
+20 포인트
10개월 전

DB 접속 정보가 틀린겁니다. DB명, user, password 모두 다시 확인해 보세요.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

세부킹실장
10개월 전
디비정보를 정상적으로 입력했는데 호스팅에서 제대로 인식이 안되서 그런것 같습니다.
답변 감사드립니다.

댓글을 작성하려면 로그인이 필요합니다.

glitter0gim
10개월 전

MySQL 사용자 인증 방식과 PHP 및 MySQL 서버 간 호환성 문제로 보입니다.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

10개월 전

구 호스팅 상태와 동일한 php 버전으로 맞추세요.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

s
sinbi Expert
10개월 전

DB 비밀번호를 (대문소/소문자/숫자/특수문자) 조합해서 어렵게 재생성 후,

해당 패스워드를 /data/dbconfig.php 파일의 아래 자리에 넣어보세요.

define('G5_MYSQL_PASSWORD', '여기에 패스워드 입력');

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

세부킹실장
10개월 전

서버 버전이

  • 서버: Localhost via UNIX socket
  • 서버 타입: MySQL
  • 서버 연결: SSL is not being used http://cebuking1004.dothome.co.kr/myadmin/doc/html/setup.html#ssl" target="documentation">문서http://cebuking1004.dothome.co.kr/myadmin/themes/dot.gif" title="문서" />
  • 서버 버전: 8.0.36 - Source distribution
  • 제품 버전: 10
  • 사용자: cebuking1004@localhost
  • 서버 문자셋: UTF-8 Unicode (utf8mb4)

그래서 변경했어요 하위 버전으로

 

 

Warning: mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in /hosting/cebuking1004/html/lib/common.lib.php on line 1528 Warning: mysqli_connect(): (HY000/2054): The server requested authentication method unknown to the client in /hosting/cebuking1004/html/lib/common.lib.php on line 1528 Connect Error: The server requested authentication method unknown to the client

 

  • 서버: Localhost via UNIX socket
  • 서버 타입: MySQL
  • 서버 연결: SSL is not being used http://abc1472.dothome.co.kr/myadmin/doc/html/setup.html#ssl" target="documentation">문서http://abc1472.dothome.co.kr/myadmin/themes/dot.gif" title="문서" />
  • 서버 버전: 5.7.44 - MySQL Community Server (GPL)
  • 제품 버전: 10
  • 사용자: abc1472@localhost
  • 서버 문자셋: UTF-8 Unicode (utf8mb4)

그랬더니 저렇게 나오네요 ㅎㅎ

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

10개월 전

계정 비밀번호가 틀린거 아닌가요?

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

세부킹실장
10개월 전
계정 비번은 맞게 수정해서 넣었습니다.

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인