작성일 댓글 남기기

wp-config.php 편집

https://wordpress.org/support/article/editing-wp-config-php/
MYSQL 대체 포트

호스트가 데이터베이스에 대체 포트 번호를 사용하는 경우 파일 에서 DB_HOST 값 을 변경 wp-config.php하여 호스트가 제공 한 대체 포트를 반영해야합니다.

localhost의 경우 :

define ( 'DB_HOST', '127.0.0.1 : 3307' );

또는 경우에 따라 :

define ( 'DB_HOST', 'localhost : 3307' );

지정된 서버의 경우 :

define ( 'DB_HOST', 'mysql.example.com : 3307' );