Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

WodpressのDB接続エラー

More than 3 years have passed since last update.

どうしてもWodpressのDB接続エラーがでる

絶対接続設定間違ってないのにモキーって時は
PHPの設定がおかしかったりする

MySQLの設定のときにデフォから変えたりするとなる

#php -i | grep socket
mysql.default_socket => /usr/local/mysql/var/mysql.sock => /usr/local/mysql/var/mysql.sock
mysqli.default_socket => /usr/local/mysql/var/mysql.sock => /usr/local/mysql/var/mysql.sock
pdo_mysql.default_socket => /usr/local/mysql/var/mysql.sock => /usr/local/mysql/var/mysql.sock

シンボリックリンクはるかphp.ini書き換えるか

mimumemo
備忘録です。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away