EnvoleCommandesSys » Historique » Version 2
Gaston TJEBBES, 10/05/2010 11:18
1 | 1 | Gaston TJEBBES | h1. EnvoleCommandesSys |
---|---|---|---|
2 | 1 | Gaston TJEBBES | |
3 | 1 | Gaston TJEBBES | h2. Mysql |
4 | 1 | Gaston TJEBBES | |
5 | 1 | Gaston TJEBBES | Changement du mot de passe de l'utilisateur root de la base de données |
6 | 1 | Gaston TJEBBES | <pre> |
7 | 1 | Gaston TJEBBES | root@lab12-eole:/var/log# mysql_pwd.py |
8 | 1 | Gaston TJEBBES | </pre> |
9 | 1 | Gaston TJEBBES | puis rentrez votre mot de passe. |
10 | 1 | Gaston TJEBBES | |
11 | 1 | Gaston TJEBBES | Connexion à la base de données : |
12 | 1 | Gaston TJEBBES | <pre> |
13 | 1 | Gaston TJEBBES | mysql -uroot -p<mot de passe> |
14 | 1 | Gaston TJEBBES | </pre> |
15 | 1 | Gaston TJEBBES | NB : pas d'espace entre les options et les valeurs. |
16 | 1 | Gaston TJEBBES | |
17 | 1 | Gaston TJEBBES | Renvoyer l'ensemble de la base de données dans un fichier /root/bdd-snapshot.sql : |
18 | 1 | Gaston TJEBBES | <pre> |
19 | 1 | Gaston TJEBBES | mysqldump -uroot -p<motdepasse> <nomdelabase> > /root/bdd-snapshot.sql |
20 | 1 | Gaston TJEBBES | </pre> |
21 | 2 | Gaston TJEBBES | |
22 | 2 | Gaston TJEBBES | h2. Creole |
23 | 2 | Gaston TJEBBES | |
24 | 2 | Gaston TJEBBES | Pour tester un template creole sans faire de reconfigure : |
25 | 2 | Gaston TJEBBES | |
26 | 2 | Gaston TJEBBES | <pre> |
27 | 2 | Gaston TJEBBES | /usr/share/creole/creolecat.py <chemin_vers_le_template> -o <chemin_vers_le_fichier_de_sortie> |
28 | 2 | Gaston TJEBBES | </pre> |