Hi guys! I want to use prisma introspect command f...
# orm-help
a
Hi guys! I want to use prisma introspect command for MySQL database, but I'm totally confused because I'm not sure if that feature is available or not. Prisma docs say it is available (1.32 vers) https://www.prisma.io/docs/datamodel-and-migrations/introspection-MYSQL-soi2/#introspecting-a-mysql-database. But this thread from prisma forum says it is not yet available (last reply): https://www.prisma.io/forum/t/connecting-to-an-existing-mysql-db-issues/5955. Thanks!
n
Hey Andrei 👋 introspection for MySQL is available since v1.31 🙂 (I believe the forum thread you've linked is from February, so that's why it says that it wasn't available)
a
Hi Nikolas, I forgot to write about an open issue on github about prisma introspect: https://github.com/prisma/prisma/issues/2506. This issue was the source of my doubts. I think this issue should be closed now. Thank you for the reply, now I'm pretty sure about the availability of this feature. 😃
n
Thanks for pointing that out, we just closed the issue 🙌
👍 1
h
Hello, I updated part of the documentation regarding MySQL schema introspection there https://github.com/prisma/prisma/pull/4512
fast parrot 1
👍 1
🙏 1
💯 1
h
@Hebilicious I appreciate the PR but you also accidentally deleted the metadata that our static site generator uses. Can you please add that again? I will be happy to merge it after that. Also, I will suggest you wait for https://github.com/prisma/prisma/pull/4533 so that this can also be added to the latest docs.