私はWordPressのインストールで本当に混乱しています。 wp_configファイルにmysql(localhost)のインスタンスのrootユーザー名とパスワードがあり、「wordpress」と呼ばれる空のデータベースが作成されています(データベースを作成する必要があるかどうかはわかりません)。OS XでのWordpressのインストールエラー接続の確立
http://localhost/wordpress/に行くと、'Error establishing a database connection'
というメッセージが表示されます。私は「wordpress」と呼ばれるデータベースを持っていると思いますか?データベースのセットアップすでに(なしのテーブル、ちょうどデータベース)を持つべきであるWordpressのでは
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'friday');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
試しました。私のために働いていない:/ – user3789629