If you were able to create the Hyperdrive config you're good to start pushing queries through it! Ac

If you were able to create the Hyperdrive config you're good to start pushing queries through it! Active vs. inactive on the dashboard just means that it has been used in the past 24 hours
18 Replies
Emilio
EmilioOP•2w ago
If we were unable to connect to your database, you would have received an error when you tried to create it
Isak
Isak•2w ago
Hi! Is this still the case? Might face this issue when trying to connect with a neon dev branch.
yevgen
yevgen•2w ago
correct
UB
UB•2w ago
With the latest changes wrt hyperdrive and the new mysql client is there any update to this issue? Assuming not, since it seems to still refuse to use tls in vitest
thomasgauvin
thomasgauvin•2w ago
For local development, you have to use a local database. You can also do local development with npx wrangler dev --remote, where your Workers are run in Cloudflare and that will allow you to connect to your remote database
iRazvan2745
iRazvan2745•2w ago
Will hyperdrive ever support mysql/mariadb?
Isaac McFadyen
Isaac McFadyen•2w ago
As of yesterday it does 😄
iRazvan2745
iRazvan2745•2w ago
Nice
giiggss.
giiggss.•2w ago
any chance someone on the hyperdrive team can give the folks working on the cloudflare vite plugin a gentle nudge. while wrangler dev succesfully polyfills everything required for mysql2 to run, the cloudflare vite plug in doesn't. my best guess is this is due to unenv not handling safer-buffer https://github.com/unjs/unenv/issues/486
GitHub
Add npm shim for safer-buffer · Issue #486 · unjs/unenv
Describe the feature safer-buffer used by mysql2 mysql2 3.13.0 └─┬ iconv-lite 0.6.3 └── safer-buffer 2.1.2 it breaks compatibility with cloudflare Additional information Would you be willing to hel...
yevgen
yevgen•2w ago
done
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
giiggss.
giiggss.•2w ago
sure thing. https://github.com/cloudflare/workers-sdk/issues/8907 thanks for taking a look
GitHub
@cloudflare/vite-plugin throws buffer.hasOwnProperty is not a funct...
Which Cloudflare product(s) does this pertain to? Vite Plugin What versions & operating system are you using? mysql2: ^3.14.0, @cloudflare/vite-plugin: ^1.0.5, wrangler: ^4.10.0 Please provide ...
Isaac McFadyen
Isaac McFadyen•2w ago
?crossposting #r2
SuperHelpflare
SuperHelpflare•2w ago
Please do not post your question in multiple channels/post it multiple times per the rules at #😃welcome-and-rules. It creates confusion for people trying to help you and doesn't get your issue or question solved any faster.
Artem Zhelinskyy
Artem Zhelinskyy•2w ago
ok but there is no answer
AJR
AJR•2w ago
I'm afraid nobody in the Hyperdrive channel is going to be able to help with that, friend.
Isaac McFadyen
Isaac McFadyen•2w ago
Sure but asking in unrelated channels won't get an answer faster.

Did you find this page helpful?