-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing SSL Error for local dev #37
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @iamtouha on Vercel. @iamtouha first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Actually going crazy.
This is a completely fresh download with your new changes. |
Can you show me the db that you have created locally |
Elaborate, how do you want me to show it? |
the mysql db that you have created locally |
it also causes error when running Invalid input Either "connectionString" or "host", "database" are required for database connection
ELIFECYCLE Command failed with exit code 1. |
I got a similar something something error but i don't know how i got it. |
Are you asking for the connectionstring? |
this is pg , u have to change the driver to pg and install pg to to use pg as your primary db |
Tried with MariaDB (mysql) too, doesn't work regardless. |
Try this one - |
have u tried by checeking out thir pr branch |
to avoid version conflit issue |
What? |
hmm.. this is just a simple thing fix .. like first it was not working for mee but now it is working fine but let other tried it and may be ur firewall or any proxy chaining issue may hang up HANDSHAKE's and other connection pull/push |
My firewall is inactive. On both systems, UFW is disabled. |
I'll try switch to pg drivers. |
hmm....lemme try it out by my vm's |
@iamtouha can you also please test it ? |
Switch to sqlite maybe it's the drizzle version? |
interesting, i got pg to somewhat work, problem is when i run pnpm db:push i get "No changes detected" despite the fact that my pg server has no tables. |
yeah i have told u that earlieer to make sure we are on the same version to avoid conflits .. |
Does it applies the changes |
Yes and i told you there were no conflicts, i am talking about this projects drizzle version. |
No, it changes nothing. |
Interesting, i reinstalled the project and reconfigured everything. |
let me try reproducing the issue |
@Fr3akyMurk try using |
I think the root cause of the problem is, drizzle config differs depending on the database driver. In new version, drizzle-kit provides |
Here is the documentation for |
@iamtouha Not too sure, i think it could be related to planetscales drivers because i read up on it and planetscale itself does not offer any way to connect to "bring your own" mysql server but rather it connects via http / https to a mysql server via proxy rather than mysql:// |
it can now sync for both remote and local db conn string for mysql and easily portable to pg