brettscott / cloudflare-worker-tunnel-mysql-example Goto Github PK
View Code? Open in Web Editor NEWConnect Cloudflare Worker to a self-hosted database via a secure Cloudflare Tunnel
License: Apache License 2.0
Connect Cloudflare Worker to a self-hosted database via a secure Cloudflare Tunnel
License: Apache License 2.0
Not an issue, I just wanted to say THANK YOU for putting together a very well detailed step-by-step instructions on how to get Workers to work with a self-hosted database. Well done sir, well done. ๐ฅ It helped me get unblocked and get my sanity back :)
I try to use TiDB, a MySQL-compatible database to replace MySQL.
I do find the SQL has been executed in the TiDB server. But find the result is still empty {"result":[]}
when I fetch data from worker.
I have also tried the official mysql-worker. it returns the same result. I think it is not an issue of TiDB because TiDB can work with most of the MySQL drivers including the mysql2
I think it may because cloudflare-worker-tunnel-mysql-example
does not handle some packages correctly.
Could you please give me some advice? or how can I debug the worker, I find it hard to known where is the problems :(
I understand this is for MySQL, however could this approach also work for MSSQL?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.