Re: DB permissions Question

2001-11-01 Thread Carl Troein
Rick Emery writes: > 2. To hide username and password, use PHP include files.Place this file > in a directory which is NOT where you store your web-pages and scripts. That's an excellent idea. Why haven't I done that? Shame on me for not thinking of that solution. Thanks for the tip. :-)

RE: DB permissions Question

2001-11-01 Thread Rick Emery
1. GRANT insert,select,delete,update ON mydatabase.* TO myuser@'%' IDENTIFIED BY 'mypassword' When your user access mydatabase via a script (PERL,PHP), access it with this user and password combination. 2. To hide username and password, use PHP include files.Place this file in a directory w