Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
doc:programmation:mysql [18/10/2014 19:38] paskal [Sécurisation de mysql] |
doc:programmation:mysql [18/10/2014 19:53] paskal [Utilisation de mysql] |
||
---|---|---|---|
Ligne 62: | Ligne 62: | ||
===== Utilisation de mysql ===== | ===== Utilisation de mysql ===== | ||
- | |||
- | <note important>Rédaction et tests en cours... smolski 24/07/2010</note> | ||
- | |||
- | Un lien formidable où télécharger un pdf à conserver : | ||
- | * http://cyberzoide.developpez.com/php4/mysql/ | ||
==== Accéder à mysql : ==== | ==== Accéder à mysql : ==== | ||
Ligne 74: | Ligne 69: | ||
Welcome to the MySQL monitor. Commands end with ; or \g. | Welcome to the MySQL monitor. Commands end with ; or \g. | ||
Your MySQL connection id is 29 | Your MySQL connection id is 29 | ||
- | Server version: 5.0.51a-24+lenny4 (Debian) | + | Server version: 5.5.38-0+wheezy1 (Debian) |
Type 'help;' or '\h' for help. Type '\c' to clear the buffer. | Type 'help;' or '\h' for help. Type '\c' to clear the buffer. | ||
Ligne 80: | Ligne 75: | ||
mysql> | mysql> | ||
- | **Renseignez :** | ||
- | Enter password: | ||
- | <note tip>''avec le //passwd mysql// et non le //passwd root// du système.''</note> | + | <note important>**Renseignez :** \\ |
+ | Enter password: \\ | ||
+ | avec le //passwd mysql// et non le //passwd root// du système. | ||
+ | </note> | ||
==== Tableau des commandes mysql : ==== | ==== Tableau des commandes mysql : ==== | ||
Ligne 132: | Ligne 128: | ||
doit être sous root, puis: | doit être sous root, puis: | ||
<code bash> | <code bash> | ||
- | GRANT ALL PRIVILEGES ON db00.* TO 'user00'@'localhost' IDENTIFIED BY 'pwd_user00'; | + | GRANT ALL PRIVILEGES ON agenda_net.* TO 'user00'@'localhost' IDENTIFIED BY 'pwd_user00'; |
+ | FLUSH PRIVILEGES; | ||
</code> | </code> | ||
\\ | \\ | ||
Ligne 149: | Ligne 146: | ||
Welcome to the MySQL monitor. Commands end with ; or \g. | Welcome to the MySQL monitor. Commands end with ; or \g. | ||
Your MySQL connection id is 77 | Your MySQL connection id is 77 | ||
- | Server version: 5.0.51a-24+lenny4 (Debian) | + | Server version: 5.5.38-0+wheezy1 (Debian) |
Type 'help;' or '\h' for help. Type '\c' to clear the buffer. | Type 'help;' or '\h' for help. Type '\c' to clear the buffer. | ||
Ligne 456: | Ligne 453: | ||
- | ===== Liens : ===== | + | ===== Liens ===== |
- | * http://dev.mysql.com/doc/refman/5.0/fr/ Un site en français proposé par martin ! :-) | + | * http://dev.mysql.com/doc/refman/5.7/en/ |
+ | * Un lien formidable où télécharger un pdf à conserver : http://cyberzoide.developpez.com/php4/mysql/ |