Jump to content

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

From KDE UserBase Wiki
Olivier Delaune (talk | contribs)
Created page with "Créez un nouvel utilisateur '''''amarokuser''''' avec le mot de passe '''''amarokpass''''' en utilisant la commande {{Input|1=CREATE USER '''<nowiki>'</nowiki>amarokuser<nowi..."
 
(No difference)

Latest revision as of 18:28, 11 September 2014

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.

Créez un nouvel utilisateur amarokuser avec le mot de passe amarokpass en utilisant la commande

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

Donnez l'accès à la base de données au nouvel utilisateur en saisissant la commande

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

où "%" est un métacaractère autorisant tous les hôtes à se connecter à la base de données. À présent, utilisez

FLUSH PRIVILEGES;

pour recharger les divers caches internes utilisés par MySQL. Finalement

exit

ferme l'invite de commande de MySQL.