Try changing the DATABASE_URL in .env from
DATABASE_URL=mysql://root:@127.0.0.1:3306/testtest?serverVersion=10.4.11
to
DATABASE_URL=mysql://root:@127.0.0.1:3306/testtest?serverVersion=mariadb-10.4.11
DATABASE_URL=mysql://root:@127.0.0.1:3306/testtest?serverVersion=mariadb-10.4.11
1
DATABASE_URL="mysql://root:@127.0.0.1:3306/base?serverVersion=mariadb-10.6.5"