Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#50266 new enhancement

Had to specify mysql socket to run php automated test

Reported by: mmarco9's profile mmarco9 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Build/Test Tools Keywords:
Focuses: docs Cc:


I had to add mysql socket information to be able to run phpunit. Without it, phpunit complained that it could not connect to database. Hopefully someone can confirm this and add this information to the docs.

Example in wp-tests-config.php:
define( 'DB_HOST', 'localhost:/Applications/MAMP/tmp/mysql/mysql.sock' );

I followed all the instructions from here: . I am using MacOS Catalina 10.15.2.

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Build/Test Tools
Note: See TracTickets for help on using tickets.