Hacker News new | ask | show | jobs
by thatwasunusual 1264 days ago
I've barely heard about PlanetScale, but from the looks of it, it looks interesting. However, is it compatible with "normal" MySQL, meaning that I just can change my connection information from `currentMySQLhost` to `planetscaleMySQLhost`, and it just works (after creating the database, tables etc., of course)?
1 comments

Yup! There are a few caveats, but for the most part it'd be compatible.

https://planetscale.com/docs/reference/mysql-compatibility

That is pretty great, especially with such a generous free plan for testing.

However, no support for FOREIGN KEYs is a bit of a bummer. However, they explain it very well.[0]

Thanks for the reply! Will definitely give PlanetScale a try over the weekend!

[0] https://planetscale.com/docs/learn/operating-without-foreign...