Open thegreatestcompany opened 1 year ago
Please make sure that u are using the latest version of "drizzle-kit": "^0.19.13" this is working for me and check if the drizzle.config.ts is in the root directory
Try adding --host localhost
or --host 127.0.0.1
when running the drizzle-kit studio
cli command
$ drizzle-kit studio --host localhost
or
$ drizzle-kit studio --host 127.0.0.1
It worked for me
@arielvieira Thanks. It work for me. -> npx drizzle-kit studio --host 127.0.0.1
Can't fin the URL http://0.0.0.0:4983/ when running Drizzle studio. Here is my drizzle.config.ts :
import type { Config } from "drizzle-kit"; import * as dotenv from "dotenv";
dotenv.config({ path: ".env" });
export default { driver: "pg", schema: "./lib/db/schema.ts", dbCredentials: { connectionString: process.env.DATABASE_URL!, } } satisfies Config;