8 messages in com.mysql.lists.win32Connexion from one user profil
FromSent OnAttachments
Ismael Touama05 Jun 2001 02:35 
Joel Nelson05 Jun 2001 08:45 
Ismael Touama05 Jun 2001 08:48 
Tim Endres05 Jun 2001 10:58 
Joel Nelson05 Jun 2001 17:47 
Ismael Touama06 Jun 2001 01:40 
Ismael Touama06 Jun 2001 06:49 
Ismael Touama06 Jun 2001 07:07 
Subject:Connexion from one user profil
From:Ismael Touama (isma@install.fr)
Date:06/05/2001 02:35:04 AM
List:com.mysql.lists.win32

Hi people,

It's for a web app. My provider provides me only one user profil in the User table. I suppose it's the super-user profil. In order to permit a client to access the database with the right of select, update, insert and delete for the front office (the real web site) and in order to food the database, modify a state for a command... for each person who works in the society (back office), I create two tables: PROFIL + UTILISATEUR (user).

In the UTILISATEUR tables I intend to create a user 'Visitor', password: Visitor, a user Administrator with all privileges, a user operator with the privilege only on the ARTICLE products...

But I don't see the way to assign the rights. I know the command: "GRANT SELECT, INSERT, UPDATE, DELETE ON DB_Install.CLIENT TO Visitor@localhost IDENTIFIED BY password"

This instruction is entered from mysql client, but how must I grant a specific profil inner the code ? I repete that I dispose just one user profil into my provider. I maybe don't understand the way a database is built.

If someone can oriente me, it will be great. Thanx all hot, Ismaël (hope was clear)