이걸 어떻게 고칠 수 있어
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'website'@'localhost' (using password: YES) in C:\xampp\htdocs\website\lib\common.lib.php on line 1449
Connect Error: Access denied for user 'website@'localhost' (using password: YES)
|
답변 3개 / 댓글 2개
채택된 답변
+20 포인트
3년 전
xampp는 아마 초기에 아이디 : root 패스워드 없음
이렇게 설정되어 있을텐데...
프로그램상에서 Mysql구간 admin을 들어가셔서 유저를 권한에 맞추어 추가할 필요가 있어보여요
답변에 대한 댓글 2개
Allforone08
3년 전
3년 전
복사한 웹사이트의 DB안에 website라는 유저를 추가해주면 됩니다.
ex) http://localhost/phpmyadmin/index.php?route=/server/privileges&adduser=1
ex) http://localhost/phpmyadmin/index.php?route=/server/privileges&adduser=1
확실히 계정이 문제 입니다.
디비 계정이 잘못된 확률 높아요
답변을 작성하려면 로그인이 필요합니다.
localhost에서 웹사이트를 복제하려고 합니다.
나는 이것에 익숙하지 않으므로 나와 함께하십시오