前提
wordpressURL変更後、管理画面にログインすると、「データベース接続確立エラー」表示がでており、
色々試しましたが、解決せず、サーバーに問い合わせるも電話が繋がらず、、対処法がありましたらご教授いただきたいです。
Wordpressをインストールしているお知らせ部分
Wordpress>設定>一般設定>WordPressアドレス・サイトアドレスを変更
変更内容 「https://www.」→「https://」 「www」をなしに、SSL更新の際に「www」なしで更新してしまい、エラーが起きたため
発生している問題・エラーメッセージ
データベース接続確立エラー詳細↓
Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645
該当のソースコード if ( WP_DEBUG ) { ※$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); } else { $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); } ※印部分
発生している問題・エラーメッセージ
データベース接続確立エラー詳細↓
Warning: mysql_connect(): Access denied for user 'ユーザー名'@'localhost' (using password: YES)
該当のソースコード if ( WP_DEBUG ) { ※$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); } else { $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); } ※印部分
試したこと
wp-config.phpファイルに追記→変化なし
update_option( 'siteurl', 'https://example.com' ); update_option( 'home', 'https://example.com' );
phpMyAdminから修正→ MySQL サーバにログインできません
補足情報(FW/ツールのバージョンなど)
サーバー:NTT Bizメール&ウェブビジネスr3
MySQLバージョン:5.7
phpMyAdminバージョン:4.4.15
PHPバージョン 5.4
Wordpressバージョン:不明
あなたの回答
tips
プレビュー