starleaf1 starleaf1 - 1 year ago 29
Node.js Question

Which version of UUID does MySQL use?

I'm rewriting an old Node.js app that uses UUID. I decided to move the responsibility of generating UUID's to Node instead of MySQL's


The package I'm gonna use on Node is
, which has support for version 1, 4, and 5. For compatibility reason, I need to use the same version which is generated by MySQL's
. Which one is it?

Answer Source

From docs:

UUID() returns a value that conforms to UUID version 1 as described in RFC 4122.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download