WordPress.org

Ready to get started?Download WordPress

Forums

cannot access web error on wp-db.php on line 1141 (1 post)

  1. deeeeeeeeeen
    Member
    Posted 1 year ago #

    Hi
    I duplicated WP folder & db to another server with different ip address, wed page cannot open, so I changed 'WP_DEBUG', to true , then it shows "Warning: mysql_connect(): Host '192.168.8.8' is not allowed to connect to this MySQL server in /var/zpanel/hostdata/osyncehk/public_html/wp-includes/wp-db.php on line 1141

    then I look up line 1141

    $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    } else {
    I have other wordpress site doing the same thing and they all are working, only this site cannot , when I saw 192.168.8.8 make me think of this server is a KVM, will it be affecting, if so any chance to solve, I am very new in wordpress.

    please help !!! Thank you in advance

Topic Closed

This topic has been closed to new replies.

About this Topic