Support » Networking WordPress » wp-db.php error on line 1141

  • Resolved deeeeeeeeeen

    (@deeeeeeeeeen)


    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 no idea how to solve the problem, cause I am very new in wordpress.

    please help !!! Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-db.php error on line 1141’ is closed to new replies.