최고관리자 아이디 비번 분실햇어요..
본문
안녕하세요
최고관리자 아이디 비번을 분실햇을때..
최고관리자 아이디 비번을 새롭게 지정 할려면 어떻게 해야 되는지 조언 좀 부탁드려요..
좋은하루 되세요..
안녕히 계세요..
답변 3
제가 안해봐서 잘 몰라서 그러는데 관리자는 비번찾기 안되나요?
안되거나 모르시면
웹에서 MySQL로 접속할수 있는 툴로 로그인 해서 <<== 로그인 정보는 dbconfig.php 참고
update g5_member set mb_password=password('원하는비번') where mb_id='관리자아이디'
이렇게 치고 다시 로그인 해 보세요.
웹 MYSQL 툴 없으면
루트에 ohmypass.php 화일을
<?php
include_once("./_common.php");
$sql = "update g5_member set mb_password=password('원하는비번') where mb_id='관리자아이디'";
sql_query($sql);
?>
이렇게 저장해서 FTP로 올리고
웹브라우져에서 불러서 로그인 시도해 보세요.
단 로그인 하고나면 저 화일은 보안상 바로 지우세요.
해봣는데요.. ㅠㅠ
아래 같이 에러가 나요.. ㅠㅠ
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /www/animal.xxxx.com/ohmypass.php on line 3
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/animal.xxxx.com/ohmypass.php on line 3
Fatal error: Call to undefined function sql_query() in /www/animal.xxxx.com/ohmypass.php on line 7
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/animal.xxxx.com/ohmypass.php on line 3
Fatal error: Call to undefined function sql_query() in /www/animal.xxxx.com/ohmypass.php on line 7
답변을 작성하시기 전에 로그인 해주세요.