Chad Johnson
Chad Johnson

Reputation: 21905

Database replication with composite keys?

According to the MySQL documentation on database replication, "All tables replicated using row-based replication must have explicit primary keys."

Is it safe to assume that database replication will work with a composite keys?

Upvotes: 0

Views: 417

Answers (1)

NeuroScr
NeuroScr

Reputation: 322

A primary key can be an composite key.

Upvotes: 1

Related Questions