0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WodpressのDB接続エラー

Last updated at Posted at 2017-10-03

どうしても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書き換えるか

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?