RE: [PHP-DB] Grant statement
| From: | Rick Emery | Date: | Mon, 24 Sep 2001 16:16:45 +0000 |
| Subject: | RE: [PHP-DB] Grant statement | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12677@lists.php.net to get a copy of this message | ||
no, if all you wan the user to do is to read/write data
-----Original Message-----
From: its me [mailto:fotna@egypt.net]
Sent: Monday, September 24, 2001 5:03 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Grant statement
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON database_name.*
TO username@localhost
IDENTIFIED BY 'password';
do i write this is my php file???
and is this its right syntax just put it like this??as i know i put like
this when using the command line..but in my php file!!i don't know.
my host created the databse for me and gave me a username and password i
used them in my scripts...do i still have to use GRANT???
------------------------------------------------------------
------------------------------------------------------------
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net