Jump to content

Translations:Amarok/Manual/Organization/Collection/ExternalDatabase/16/da: Difference between revisions

From KDE UserBase Wiki
Claus chr (talk | contribs)
Created page with "Lav en ny bruger, '''''amarokuser''''' med passwordet '''''amarokpass''''' ved at skrive kommandoen {{Input|1=CREATE USER '''<nowiki>'</nowiki>amarokuser<nowiki>'</nowiki>'''@'''..."
 
(No difference)

Latest revision as of 07:20, 1 December 2011

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Amarok/Manual/Organization/Collection/ExternalDatabase)
Create a new user '''''amarokuser''''' with the password '''''amarokpass''''' using the 
{{Input|1=CREATE USER '''<nowiki>'</nowiki>amarokuser<nowiki>'</nowiki>'''@'''<nowiki>'</nowiki>localhost<nowiki>'</nowiki>''' IDENTIFIED BY '''<nowiki>'</nowiki>amarokpass<nowiki>'</nowiki>''';}}
command. Amarok needs its own database, which is created with
{{Input|1=CREATE DATABASE '''amarokdb''';}}
Give the new user access to the database by entering the
{{Input|1=GRANT ALL ON '''amarokdb'''.* TO '''<nowiki>'</nowiki>amarokuser<nowiki>'</nowiki>'''@'''<nowiki>'</nowiki>%<nowiki>'</nowiki>''' IDENTIFIED BY '''<nowiki>'</nowiki>amarokpass<nowiki>'</nowiki>''';}}
command, where ''%'' is a wildcard to allow all hosts to connect to the database. Now use the
{{Input|1=FLUSH PRIVILEGES;}}
statement to reload various internal caches used by '''MySQL'''. Finally
{{Input|1=exit}}
closes the '''MySQL''' prompt.

Lav en ny bruger, amarokuser med passwordet amarokpass ved at skrive kommandoen

CREATE USER ''''amarokuser''''@''''localhost'''' IDENTIFIED BY ''''amarokpass'''';

Amarok skal bruge sin egen database, som laves med

CREATE DATABASE '''amarokdb''';

Giv den nye bruger adgang til databasen ved kommandoen

GRANT ALL ON '''amarokdb'''.* TO ''''amarokuser''''@''''%'''' IDENTIFIED BY ''''amarokpass'''';

hvor % er et jokertegn, som lader alle værter forbinde til databasen. Brug nu erklæringen

FLUSH PRIVILEGES;

til at genindlæse diverse interne mellemlagre, som bruges af MySQL. Endelig afsluttes MySQL-promptet med

exit