View Single Post

  #12 (permalink)  
Old 05-09-2008
cartercc
 
Posts: n/a
Default Re: DROP TABLE customers

On May 9, 11:11 am, Ignoramus26246 <ignoramus26...@NOSPAM.
26246.invalid> wrote:
> I would like to know if Perl's DBI supports an attribute that would
> make a database handle read only.


mysql> GRANT SELECT ON database.* TO 'webuser'@'localhost' IDENDIFIED
BY 'webuserpassword';

Then, use webuser as your user for your application.

CC
Reply With Quote