https://www.prisma.io/ logo
#orm-help
Title
# orm-help
d

Dale Shanefelt

09/28/2022, 7:25 PM
Hello - I am trying to run a prisma db pull and am getting Error: Error parsing connection string: invalid port number in database URL . I have in my .env file: DATABASE_URL="mysql://graphqluser:realpassworddeleted@128.2.172.9:3306/applygradgraphql" Any thoughts?
1
m

Maotora

09/28/2022, 7:27 PM
Can you connect to the database using that connection string without errors?
d

Dale Shanefelt

09/28/2022, 7:28 PM
Yes
j

janpio

09/28/2022, 9:03 PM
Any non ascii characters in username or password?
d

Dale Shanefelt

09/28/2022, 10:57 PM
I regenerated a new password and it now works. Thanks!
👍 1
j

janpio

09/30/2022, 8:41 PM
I guess you had a special character in the old one - urlencoding that would have worked as well.
4 Views