?
Solved

Row Privilege in MySQL Table

Posted on 2003-03-17
5
Medium Priority
?
728 Views
Last Modified: 2012-06-27
I am developing app in Delphi to
access MySQL database remotely
through LAN or internet connection.

Just like it is possible to give privileges
to table columns for specific users, is it
possible to give row privileges to the
the user, so he can only select, update and
delete the rows inserted by himself? If no,
is there a way to overcome this kind of
problem?

Thanks!
0
Comment
Question by:hongsikchoi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 15

Accepted Solution

by:
VGR earned 1000 total points
ID: 8153932
absolutely no way.
that's the answer.
This has to be programmatically (ie : show only HIS/HER rows to a user, so that he may alter only those)
0
 
LVL 1

Expert Comment

by:ultraslacker
ID: 8155063
If you need this sort of functionality in the database, you may want to look at postgresql where this can be done via views and rules.

http://www.postgresql.org
0
 
LVL 3

Expert Comment

by:Ice_S5
ID: 8166250
Mysql doesn't offer such functionality. You have to write code which provides that, or use another database server.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question