Mishap with drizzle and singlestore

I was following Theos tutorial => https://www.youtube.com/watch?v=c-hKSbzooAg And when I first tried to run the pnpm run db:push nothing worked! I debugged and realised that a simple change from SINGLESTORE_HOST: z.string().url() to SINGLESTORE_HOST: z.string() will make it work! And it did... But later I did some VISUAL changes, not changing anything drizzle or singlestore related running pnpm run db:push again fails again! Now with this: Error: getaddrinfo ENOTFOUND svc-7ba08cfa-3e59-458b-b9ae-ae06a80aaa95-dml.aws-virginia-8.svc.singlestore.com at createConnectionPromise (/Users/filipsmasolovs/Development/m-drive/node_modules/.pnpm/[email protected]/node_modules/mysql2/promise.js:18:31) at connectToSingleStore (/Users/filipsmasolovs/Development/m-drive/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:66769:84) at async singlestorePush (/Users/filipsmasolovs/Development/m-drive/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:69965:32) at async Object.handler (/Users/filipsmasolovs/Development/m-drive/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:79159:9) at async run (/Users/filipsmasolovs/Development/m-drive/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:78381:7) { code: 'ENOTFOUND', errno: -3008, sqlState: undefined } What could be the reason for this error?
13 Replies
MrMasolov
MrMasolovOP•2w ago
Figured it out 🙂 My DB had an AUTO SUSPEND policy... DBs are so FUN... Starting to feel some very big pains trying to make the project my own. 😄
MrMasolov
MrMasolovOP•2w ago
LOOKING GOOD!!!
No description
MrMasolov
MrMasolovOP•7d ago
FOLDERS... DONE!!!
No description
MrMasolov
MrMasolovOP•7d ago
The FOLDER DELETE function is getting ABSURD 😄 😄 😄 FOLDER DELETE WOOOOOOOORKS!!!! And yeah, I mean PROPERLY work with all decendandts being both removed from DB, removed from UploadThing and UI refreshed @theo (t3.gg) THANK YOU FOR AN AMAZING CHALLENGE!!! Added preview support for: image - default img tag pdf - object tag with type="application/pdf" video - default video tag text/plain - iframe 😄 audio - default audio tag Having massive amounts of fun, desperation, headache and pain at the same time with M-DRIVE....
MrMasolov
MrMasolovOP•7d ago
I AM TOO PROUD OF THIS UI 🙂
No description
MrMasolov
MrMasolovOP•7d ago
In my mind this just looks GREAT
No description
MrMasolov
MrMasolovOP•7d ago
Creating a new file optimistic refresh works PERFECTLY Deleting a file optimistic refresh works PERFECTLY Deleting a folder optimistic refresh works PERFECTLY Creating a new folder optimistic refresh is a PAIN IN THE ASS problem that I have been trying to solve for hours and I'm going mad... 😄 Small win, found a very FUN BEHAVIOUR between Clerk and Arc, most probably Clerks fault, but 100% is not mine as it is also reproducable on their website 😄 😄 😄 FUN FUN, JOY JOY
MrMasolov
MrMasolovOP•6d ago
WORKING SEARCH...
No description
MrMasolov
MrMasolovOP•5d ago
No description
MrMasolov
MrMasolovOP•3d ago
m-hub.link
MrMasolov
MrMasolovOP•3d ago
M-DRIVE
Slightly less functional, but way better looking Google Drive clone.
webdevkaleem
webdevkaleem•2d ago
nice work i have yet to go through the tutorial myself but the outcome is fire
MrMasolov
MrMasolovOP•2d ago
Thank you @webdevkaleem Really appreatiate it!

Did you find this page helpful?