RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Database URL resolves to local IP

sunneydev opened this issue · comments

commented

Hello, I've a .env file with the specific database url:
DATABASE_URL="mysql://username:password@my-server-url:3306/database

for some reason, when I run kysely-codegen it gives me the following error:
sqlMessage: "Access denied for user 'root'@'{{ my ip }}' (using password: YES)",

I'm not sure why it's using my IP to connect to db instead of actual ip as set in the .env

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar