데이터베이스 접속 오류가 납니다..

현재 사이트에 접속하면 아래와 같은 에러 문구가 나오면서 접속이 불가능합니다..ㅠㅠ

 

mysqli_real_connect(): (HY000/2002): Connection refused in/opt/bitnami/apps/wordpress/htdocs/wp-includes/wp-db.phpon line1612

 

해당소스는 아래와 같습니다. 

 			if ( WP_DEBUG ) {
				mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
			} else {
				@mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
			}

			if ( $this->dbh->connect_errno ) {
				$this->dbh = null;

mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags ); <<이게 1612 입니다..

 

데이터베이스에 접속이 거부되는 것 같은데 어떻게 하면 될까요??

구글링해보니 wp-config.php 의 'localhost' 부분을 '127.0.0.1'로 바꿔주라고해서 했는데도 안되네요..ㅠㅠ

좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기
워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기