![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to know if Perl's DBI supports an attribute that would make a database handle read only. That is, I am looking for a way to make a handle read only so that all subsequent queries that seek to modify the database, would not proceed at all. This would be for mysql. Thanks -- Due to extreme spam originating from Google Groups, and their inattention to spammers, I and many others block all articles originating from Google Groups. If you want your postings to be seen by more readers you will need to find a different means of posting on Usenet. http://improve-usenet.org/ |
#3
| |||
| |||
|
|
I would like to know if Perl's DBI supports an attribute that would make a database handle read only. That is, I am looking for a way to make a handle read only so that all subsequent queries that seek to modify the database, would not proceed at all. This would be for mysql. Thanks |
#4
| |||
| |||
|
|
On Fri, 09 May 2008 10:11:03 -0500, Ignoramus26246 wrote: I would like to know if Perl's DBI supports an attribute that would make a database handle read only. That is, I am looking for a way to make a handle read only so that all subsequent queries that seek to modify the database, would not proceed at all. This would be for mysql. Thanks MySQL user security[1] will handle this. [1] Given the normal implementation of MySQL in hosting environments, this might be what you want to hear.[2] [2] If so, try another way :-) -- p BotM#1 LotR#9http://www.last.fm/user/prawnuk I think you meant: |
#5
| |||
| |||
|
|
I would like to know if Perl's DBI supports an attribute that would make a database handle read only. That is, I am looking for a way to make a handle read only so that all subsequent queries that seek to modify the database, would not proceed at all. This would be for mysql. |
#6
| |||
| |||
|
|
I think you meant: [1] Given the normal implementation of MySQL in hosting environments, this might NOT be what you want to hear.[2] [2] If so, try another way :-) |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Ignoramus26246 wrote: I would like to know if Perl's DBI supports an attribute that would make a database handle read only. That is, I am looking for a way to make a handle read only so that all subsequent queries that seek to modify the database, would not proceed at all. This would be for mysql. A better way would be to make a user with only select priviliges, and no insert/update/drop privilige. Trying to get this in Perl's DBI seems needlessly complicated, and in any way less reliable then on database level. Of course, there's no objection to having two connection to a database: one which can alter, and one which can't. |
#9
| |||
| |||
|
|
Ignoramus26246 <ignoramus26246 (AT) NOSPAM (DOT) 26246.invalid> wrote: Oh, are we at number 26246 already? All the other 26245 have been killfiled by everyone, I guess. That's why you need to come up with a new identity every few days. Won't help you.... jue |
#10
| |||
| |||
|
|
I would like to know if Perl's DBI supports an attribute that would make a database handle read only. That is, I am looking for a way to make a handle read only so that all subsequent queries that seek to modify the database, would not proceed at all. |
![]() |
| Thread Tools | |
| Display Modes | |
| |