HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

Concurrency question?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
concurrencyquestionstackoverflow

Problem

I have a MySql (5.5) database with a MS Access frontend. If two users are viewing the same record at the same time how can I make each user aware of each other? For example how would I go about displaying a label indicating that another user is also viewing the same record?

Solution

I may be wrong, but I don't think this is possible unless you restrict access to the data to be via stored procedures - then the procedure can trigger audit mechanism that you can expose to the users. You would also need polling of the audit if both users need to be aware.

Context

StackExchange Database Administrators Q#2975, answer score: 4

Revisions (0)

No revisions yet.