Skip to content

Commit 80b2a8c

Browse files
authored
ci: fix orm ut in node18 with macos (#49)
dns lookup with node18 perfer ipv6,localhost will be resolved to ::1, and mysql listen bind to 127.0.0.1. It will cause conn refused. So use 127.0.0.1 instead of localhost.
1 parent cd8c3cb commit 80b2a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/orm/test/fixtures/apps/orm-app/config/config.default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function() {
1111
orm: {
1212
client: 'mysql',
1313
database: 'test',
14-
host: 'localhost',
14+
host: '127.0.0.1',
1515
port: 3306,
1616
user: 'root',
1717

0 commit comments

Comments
 (0)