반응형
WAMP WORDPRESS가 MySQL에 연결되지만 Maria에는 연결되지 않음DB
Wordpress에서 에 대한 연결을 설정할 수 없습니다.MariaDB
에만 접속하다MySQL
계속 입수:Can’t select database
연결하도록 Wordpress를 설정하는 방법MariaDB
?
MySQL을 비활성화하거나 활성화해도 도움이 되지 않습니다.
이것도 안 된다
PhpMyAdmin 데이터베이스 뷰는 다음과 같습니다.
됐다.샘플 Config 파일을 다음과 같이 설정하여 저장해야 했습니다.wp_config.php
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wp_db' );
/** MySQL database username */
define( 'DB_USER', 'root' );
/** MySQL database password */
define( 'DB_PASSWORD', '' );
#Here is the MOST IMPORTANT of all
/** MySQL hostname */
define( 'DB_HOST', 'localhost:3307' );#IMPORTAT: Notice the :3307 that is the PORT for MariaDB
/** 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', '' );
그리고 Voila! 나는 며칠이고 몇 시간이고 구글을 검색하며 여기저기 머리를 박고 다녔지만, 해결책은 그렇게 간단했다.
언급URL : https://stackoverflow.com/questions/58351486/wamp-wordpress-connects-to-mysql-but-will-not-connect-to-mariadb
반응형
'programing' 카테고리의 다른 글
(libnet ..etc )와 같은 서드파티 라이브러리를 사용하지 않고 C?를 사용하여 스위치를 플래딩(레이어 2)하도록 자체 MAC 플래더를 만드는 방법 (0) | 2022.11.01 |
---|---|
Gradle - 오류 [com.android] 인수에 대한 메서드 구현()을 찾을 수 없습니다.지원: appcompat-v7:26.0.0] (0) | 2022.11.01 |
플라스크 앱을 여러 개의 py 파일로 분할하는 방법은 무엇입니까? (0) | 2022.11.01 |
MARIADB - QUERY 패킷 전송 중 오류 발생(max_allowed_packet 아님) (0) | 2022.11.01 |
ORM 매핑의 '소유측'이란 무엇입니까? (0) | 2022.11.01 |