정말 WordPress 설치로 혼란스러워합니다. wp_config 파일에는 mysql (localhost)의 인스턴스에 대한 루트 사용자 이름과 암호가 있으며 'wordpress'라는 빈 데이터베이스를 만들었습니다 (데이터베이스 생성을 시작했는지 여부는 확실하지 않습니다).OS X에서 워드 프레스 설치 오류 연결
http://localhost/wordpress/으로 갈 때 'Error establishing a database connection'
메시지가 표시됩니다. 나는 '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