Error: Failed to create a socket for IPv6 '::1'

hi, how can i force local to use ipv4? i am seeing the following error in my logs:

{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-09T08:11:50.825252Z 0 [ERROR] [MY-010250] [Server] Failed to create a socket for IPv6 '::1': errno: 97.","timestamp":"2020-08-09T08:11:50.827Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-08-09T08:11:50.825265Z 0 [ERROR] [MY-010255] [Server] Can't create IP socket: Address family not supported by protocol","timestamp":"2020-08-09T08:11:50.827Z"}