|
| Hvordan opretter jeg en database med en ny~ Fra : Morten Jørgensen |
Dato : 10-08-01 12:49 |
|
Hej.
Se her:
Create a new MySQL database (or choose an existing one). Create a new user
(or use an
existing user) with access to that database with (at minimum) the following
privileges:
SELECT, INSERT, UPDATE, DELETE, and CREATE.
Hvordan gør man det?
Hilsen Morten Jørgensen
| |
Anders Hertz (10-08-2001)
| Kommentar Fra : Anders Hertz |
Dato : 10-08-01 13:33 |
|
On Fri, 10 Aug 2001 13:48:46 +0200, "Morten Jørgensen" <tbd@mailme.dk>
wrote:
> Create a new MySQL database (or choose an existing one). Create a new user
>(or use an
> existing user) with access to that database with (at minimum) the following
>privileges:
> SELECT, INSERT, UPDATE, DELETE, and CREATE.
>
>Hvordan gør man det?
http://www.mysql.com/doc/A/d/Adding_users.html
Der står det hele.
Anders
| |
Troels Arvin (10-08-2001)
| Kommentar Fra : Troels Arvin |
Dato : 10-08-01 22:45 |
|
On Fri, 10 Aug 2001 13:48:46 +0200, "Morten Jørgensen" <tbd@mailme.dk>
wrote:
> Create a new
> user
> (or use an
> existing user) with access to that database with (at minimum) the
> following
> privileges:
> SELECT, INSERT, UPDATE, DELETE, and CREATE.
Lad os sige, at brugeren hedder "mogens", databasen hedder
"tommeflasker", password skal være "hejsahop", og mogens skal have
adgang fra alle *.mydomain.dk hosts:
create database tommeflasker;
grant
select, insert, update, delete, create
on tommeflasker.*
to mogens@"%.mydomain.dk"
identified by "hejsahop"
;
--
Greetings from Troels Arvin, Copenhagen, Denmark
| |
|
|