|
|
|
|
H-Desk.com - PC Security matters - Protect your PC privacy
|
|
|
|
| Author |
Message |
humfried
Joined: 23 Nov 2005 Posts: 27
|
Posted: 01/23/08 - 10:37 Post subject: |
|
|
| Hello everyone. I am learning mySQL and PHP. I have created a database with several tales and I would like to give different privileges to different users. Right now , new users can not do almost anything. Can you tell what is command syntax in mySQL for these operations? Thank you in advance. |
|
|
Back to top
|
|
|
|
 |
ralf
Joined: 29 Oct 2004 Posts: 22
|
Posted: 02/21/08 - 22:28 Post subject: |
|
|
| Hello there. I can suggest you to read MySQL documentation. It is very good and exhaustive and you will find answers on many questions there. Especially for these beginners questions. Regarding your question I can tell you that syntax for GRANT command can look something like this:”GRANT SELECT, INSERT, UPDATE ON mydb.mytbl TO 'someuser'@'somehost';” |
|
|
Back to top
|
|
|
|
 |
|
 |
All times are GMT
|
|
|