그누보드가 아닌문제인데 질문드려도 괜찮은가요?..죄송합니다.
DB비밀번호를 호스팅업체 요청에의해 변경하였습니다.
그런후 사이트접속및 관리자 접속이 안되는데요...
잘접속되던 사이트인데....오류가나더라구요
사이트 에러내용입니다.
----------------------------------------------------------------------------------
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'happy2001@localhost' (Using password: YES) in /home1/happy2001/inc/classMysql.php on line 26
Access denied for user: 'happy2001@localhost' (Using password: YES)
----------------------------------------------------------------------------------
이러해서
/inc/classMysql.php를 찾아들어갔는데요.
이파일이
"이파일은 현재 인코딩에서 손실될 수 있는 문자가 포함되었습니다."
하면서 수정도 못하게 되어있어요...Zend암호화 된것같다는데요..
에디터에서 수정보다 볼수조차없네요..
마지막으로 비밀번호 변경했으니 config파일을 뒤져서 찾았어요..
config.inc.php 파일인데
----------------------------------------------------------------------------------
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH!
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'kikiki2001';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
----------------------------------------------------------------------------------
이런식으로 되어있어서
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'kikiki2001';
이부분을
$cfg['Servers'][$i]['controluser'] = 'happy2001';
$cfg['Servers'][$i]['controlpass'] = 'kkk1234'; - 바뀐 비밀번호
이렇게 변경했는데도 아무런 반응이 없네요..
아주 사소한 아주작은 실마리라도 주실분 작은 댓글이라도 달아주세요...
감사합니다..ㅠ
p.s) 참고로 호스팅사 접속도 잘되고 (DB 비번변경한곳)
myphpadmin 접속도 잘되고
FTP 접속도 잘되는상황입니다.
오직 사이트 (mysql 연동오류?)만 잘안되네요.~
DB비밀번호를 호스팅업체 요청에의해 변경하였습니다.
그런후 사이트접속및 관리자 접속이 안되는데요...
잘접속되던 사이트인데....오류가나더라구요
사이트 에러내용입니다.
----------------------------------------------------------------------------------
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'happy2001@localhost' (Using password: YES) in /home1/happy2001/inc/classMysql.php on line 26
Access denied for user: 'happy2001@localhost' (Using password: YES)
----------------------------------------------------------------------------------
이러해서
/inc/classMysql.php를 찾아들어갔는데요.
이파일이
"이파일은 현재 인코딩에서 손실될 수 있는 문자가 포함되었습니다."
하면서 수정도 못하게 되어있어요...Zend암호화 된것같다는데요..
에디터에서 수정보다 볼수조차없네요..
마지막으로 비밀번호 변경했으니 config파일을 뒤져서 찾았어요..
config.inc.php 파일인데
----------------------------------------------------------------------------------
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH!
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'kikiki2001';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
----------------------------------------------------------------------------------
이런식으로 되어있어서
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'kikiki2001';
이부분을
$cfg['Servers'][$i]['controluser'] = 'happy2001';
$cfg['Servers'][$i]['controlpass'] = 'kkk1234'; - 바뀐 비밀번호
이렇게 변경했는데도 아무런 반응이 없네요..
아주 사소한 아주작은 실마리라도 주실분 작은 댓글이라도 달아주세요...
감사합니다..ㅠ
p.s) 참고로 호스팅사 접속도 잘되고 (DB 비번변경한곳)
myphpadmin 접속도 잘되고
FTP 접속도 잘되는상황입니다.
오직 사이트 (mysql 연동오류?)만 잘안되네요.~
댓글 4개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284255 | |
| 284248 | |
| 284247 | |
| 284246 | |
| 284242 | |
| 284238 | |
| 284234 | |
| 284233 | |
| 284229 | |
| 284224 | |
| 284222 | |
| 284215 | |
| 284213 | |
| 284212 | |
| 284209 | |
| 284208 | |
| 284201 | |
| 284193 | |
| 284192 | |
| 284174 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기