<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Croc-Informatique.fr &#187; Base de donnée</title>
	<atom:link href="http://www.croc-informatique.fr/category/base-de-donnee/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.croc-informatique.fr</link>
	<description>Le Blog Note d'Olivier Legras</description>
	<lastBuildDate>Thu, 05 Aug 2010 19:49:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>[MYSQL] Réinitialiser le mot de passe root</title>
		<link>http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/</link>
		<comments>http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 10:07:11 +0000</pubDate>
		<dc:creator>Olivier Legras</dc:creator>
				<category><![CDATA[Base de donnée]]></category>
		<category><![CDATA[mot de passe]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[reinitialiser]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/</guid>
		<description><![CDATA[Vous avez perdu le mot de passe “root” de votre serveur Mysql. Heureusement, Mysql a prévu une solution. Il suffi de démarrer le service en mode “secours”. Dans ce mode, vous n’avez pas besoin de vous authentifier. Voici la procédure vous permettant de réinitialiser le mot de passe “root” : &#160; Arrêter le service mysqld [...]


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/04/mysql/' rel='bookmark' title='Permanent Link: Mysql'>Mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/' rel='bookmark' title='Permanent Link: Impossible de se connecter en local avec un mot de passe sur mysql'>Impossible de se connecter en local avec un mot de passe sur mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Vous avez perdu le mot de passe “root” de votre serveur Mysql. Heureusement, Mysql a prévu une solution. Il suffi de démarrer le service en mode “secours”. Dans ce mode, vous n’avez pas besoin de vous authentifier. Voici la procédure vous permettant de réinitialiser le mot de passe “root” :</p>
<p>&nbsp;</p>
<p>Arrêter le service mysqld :</p>
<blockquote><p>#/etc/init.d/mysql stop</p></blockquote>
<p>Lancer mysqld en mode secours :</p>
<blockquote><p>#mysqld &#8211;skip-grant-tables &#8211;skip-networking &amp;</p></blockquote>
<p><span id="more-497"></span></p>
<p>Se connecter en root :</p>
<blockquote><p># mysql mysql -u root</p></blockquote>
<p>Remplacer le mot de passe root :</p>
<blockquote><p>UPDATE user SET password=PASSWORD(&#8216;nouveaumotdepasse&#8217;) WHERE user=&nbsp;&raquo;root&nbsp;&raquo;;</p></blockquote>
<p>Prendre en compte les changements :</p>
<blockquote><p>FLUSH PRIVILEGES;</p></blockquote>
<p>Redemarrer Mysql :</p>
<blockquote><p>#/etc/init.d/mysql restart</p></blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/&amp;t=%5BMYSQL%5D+R%C3%A9initialiser+le+mot+de+passe+root" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/&amp;title=%5BMYSQL%5D+R%C3%A9initialiser+le+mot+de+passe+root" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=%5BMYSQL%5D+R%C3%A9initialiser+le+mot+de+passe+root+-+http://b2l.me/aadd8j&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/&amp;title=%5BMYSQL%5D+R%C3%A9initialiser+le+mot+de+passe+root" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/&amp;title=%5BMYSQL%5D+R%C3%A9initialiser+le+mot+de+passe+root" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;%5BMYSQL%5D+R%C3%A9initialiser+le+mot+de+passe+root&quot;+-+from+http://b2l.me/aadd8j" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/04/mysql/' rel='bookmark' title='Permanent Link: Mysql'>Mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/' rel='bookmark' title='Permanent Link: Impossible de se connecter en local avec un mot de passe sur mysql'>Impossible de se connecter en local avec un mot de passe sur mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2010/06/mysql-rinitialiser-le-mot-de-passe-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faire un insert en fonction d’un select sur mysql</title>
		<link>http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/</link>
		<comments>http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 15:46:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Base de donnée]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/</guid>
		<description><![CDATA[Voici la requête : INSERT INTO nom_table (champ1,champ2,champ3) SELECT champ1,58,55 FROM nom_table WHERE champ2= &#8217;8&#8242;; 58 et 55 correspondent aux champ2 et 3. ce sont des constantes. En gros, nous insérons dans le champ1 le résultat du select et dans le champ2 et 3, nous insérons les valeurs respective 58 et 55. Partagez-le sur Facebook [...]


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/' rel='bookmark' title='Permanent Link: Afficher le schéma d’une base SQLite en Perl'>Afficher le schéma d’une base SQLite en Perl</a></li>
<li><a href='http://www.croc-informatique.fr/2008/11/faire-un-montage-nfs-dans-un-environnement-scuris-redhat/' rel='bookmark' title='Permanent Link: Faire un montage NFS dans un environnement sécurisé (Redhat)'>Faire un montage NFS dans un environnement sécurisé (Redhat)</a></li>
<li><a href='http://www.croc-informatique.fr/2008/04/mysql/' rel='bookmark' title='Permanent Link: Mysql'>Mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Voici la requête :</p>
<blockquote><p>INSERT INTO nom_table (champ1,champ2,champ3) SELECT champ1,58,55 FROM nom_table WHERE champ2= &#8217;8&#8242;;</p>
</blockquote>
<p>58 et 55 correspondent aux champ2 et 3. ce sont des constantes.</p>
<p>En gros, nous insérons dans le champ1 le résultat du select et dans le champ2 et 3, nous insérons les valeurs respective 58 et 55.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/&amp;t=Faire+un+insert+en+fonction+d%E2%80%99un+select+sur+mysql" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/&amp;title=Faire+un+insert+en+fonction+d%E2%80%99un+select+sur+mysql" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Faire+un+insert+en+fonction+d%E2%80%99un+select+sur+mysql+-+http://b2l.me/aahwus&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/&amp;title=Faire+un+insert+en+fonction+d%E2%80%99un+select+sur+mysql" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/&amp;title=Faire+un+insert+en+fonction+d%E2%80%99un+select+sur+mysql" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Faire+un+insert+en+fonction+d%E2%80%99un+select+sur+mysql&quot;+-+from+http://b2l.me/aahwus" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/' rel='bookmark' title='Permanent Link: Afficher le schéma d’une base SQLite en Perl'>Afficher le schéma d’une base SQLite en Perl</a></li>
<li><a href='http://www.croc-informatique.fr/2008/11/faire-un-montage-nfs-dans-un-environnement-scuris-redhat/' rel='bookmark' title='Permanent Link: Faire un montage NFS dans un environnement sécurisé (Redhat)'>Faire un montage NFS dans un environnement sécurisé (Redhat)</a></li>
<li><a href='http://www.croc-informatique.fr/2008/04/mysql/' rel='bookmark' title='Permanent Link: Mysql'>Mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2009/07/faire-un-insert-en-fonction-dun-select-sur-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualiser les connexions en cours sur Mysql</title>
		<link>http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/</link>
		<comments>http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 13:37:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Base de donnée]]></category>
		<category><![CDATA[connexions]]></category>
		<category><![CDATA[too many connection]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/</guid>
		<description><![CDATA[Connectez-vous avec le client mysql en ligne de commande et tapez : SHOW PROCESS-LIST Cette commande est utile lorsque vous avez l’erreur “Too many connection” Partagez-le sur Facebook Ajoutez-le à Google Bookmarks Postez-le sur Google Buzz Partagez-le sur Technorati Tweetez-le ! Partagez-le sur Wikio Partagez-le sur Reddit Publiez-le sur Identica Autres articles similaires:Visualiser et forcer [...]


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2009/03/visualiser-et-forcer-la-speed-et-le-duplex/' rel='bookmark' title='Permanent Link: Visualiser et forcer la speed et le duplex'>Visualiser et forcer la speed et le duplex</a></li>
<li><a href='http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/' rel='bookmark' title='Permanent Link: Freeware administration mysql'>Freeware administration mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/02/connaitre-la-taille-des-repertoires-courants/' rel='bookmark' title='Permanent Link: Visualiser l&#8217;historique des commandes sous linux'>Visualiser l&#8217;historique des commandes sous linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Connectez-vous avec le client mysql en ligne de commande et tapez :</p>
<blockquote><p>SHOW PROCESS-LIST</p>
</blockquote>
<p>Cette commande est utile lorsque vous avez l’erreur “Too many connection”</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/&amp;t=Visualiser+les+connexions+en+cours+sur+Mysql" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/&amp;title=Visualiser+les+connexions+en+cours+sur+Mysql" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Visualiser+les+connexions+en+cours+sur+Mysql+-+http://b2l.me/aaeext&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/&amp;title=Visualiser+les+connexions+en+cours+sur+Mysql" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/&amp;title=Visualiser+les+connexions+en+cours+sur+Mysql" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Visualiser+les+connexions+en+cours+sur+Mysql&quot;+-+from+http://b2l.me/aaeext" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2009/03/visualiser-et-forcer-la-speed-et-le-duplex/' rel='bookmark' title='Permanent Link: Visualiser et forcer la speed et le duplex'>Visualiser et forcer la speed et le duplex</a></li>
<li><a href='http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/' rel='bookmark' title='Permanent Link: Freeware administration mysql'>Freeware administration mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/02/connaitre-la-taille-des-repertoires-courants/' rel='bookmark' title='Permanent Link: Visualiser l&#8217;historique des commandes sous linux'>Visualiser l&#8217;historique des commandes sous linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2009/03/visualiser-les-connexions-en-cours-sur-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Afficher le schéma d’une base SQLite en Perl</title>
		<link>http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/</link>
		<comments>http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 09:02:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Base de donnée]]></category>
		<category><![CDATA[Programmation]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/</guid>
		<description><![CDATA[#!/usr/bin/perl use strict; use DBI; #Définition des arguments de connexion my $dbargs = {AutoCommit =&#62; 0, PrintError =&#62; 1}; #Connexion à la base SQLite my $dbh1 = DBI-&#62;connect(&#171;&#160;dbi:SQLite2:dbname=/chemin/db&#160;&#187;,&#160;&#187;",&#160;&#187;",$dbargs); #Affichage du message d&#8217;erreur si c&#8217;est le cas if ($dbh1-&#62;err()) { die &#171;&#160;$DBI::errstr\n&#160;&#187;; } #Préparation de la requête my $sSql= &#171;&#160;SELECT * FROM SQLITE_MASTER&#160;&#187;; my $statement = [...]


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<blockquote><p>#!/usr/bin/perl<br />
use strict;<br />
use DBI;</p>
<p>#Définition des arguments de connexion<br />
my $dbargs = {AutoCommit =&gt; 0,<br />
PrintError =&gt; 1};</p>
<p>#Connexion à la base SQLite<br />
my $dbh1 = DBI-&gt;connect(&laquo;&nbsp;dbi:SQLite2:dbname=/chemin/db&nbsp;&raquo;,&nbsp;&raquo;",&nbsp;&raquo;",$dbargs);</p>
<p>#Affichage du message d&#8217;erreur si c&#8217;est le cas<br />
if ($dbh1-&gt;err()) { die &laquo;&nbsp;$DBI::errstr\n&nbsp;&raquo;; }</p>
<p>#Préparation de la requête<br />
my $sSql= &laquo;&nbsp;SELECT * FROM SQLITE_MASTER&nbsp;&raquo;;<br />
my $statement = $dbh1-&gt;prepare($sSql);</p>
<p>#Exécution de la requête<br />
$statement-&gt;execute();</p>
<p>#Affichage du résultat<br />
while (my $row = $statement-&gt;fetchrow_arrayref) {<br />
print join(&laquo;&nbsp;\t&nbsp;&raquo;, @$row), &laquo;&nbsp;\n&nbsp;&raquo;;<br />
}</p>
<p><span id="more-165"></span></p>
<p>#Déconnexion<br />
$dbh1-&gt;disconnect();</p></blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/&amp;t=Afficher+le+sch%C3%A9ma+d%E2%80%99une+base+SQLite+en+Perl" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/&amp;title=Afficher+le+sch%C3%A9ma+d%E2%80%99une+base+SQLite+en+Perl" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Afficher+le+sch%C3%A9ma+d%E2%80%99une+base+SQLite+en+Perl+-+http://b2l.me/aakjbw&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/&amp;title=Afficher+le+sch%C3%A9ma+d%E2%80%99une+base+SQLite+en+Perl" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/&amp;title=Afficher+le+sch%C3%A9ma+d%E2%80%99une+base+SQLite+en+Perl" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Afficher+le+sch%C3%A9ma+d%E2%80%99une+base+SQLite+en+Perl&quot;+-+from+http://b2l.me/aakjbw" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2009/01/afficher-le-schma-dune-base-sqlite-en-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql : Got a packet bigger than &#8216;max_allowed_packet&#8217;</title>
		<link>http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/</link>
		<comments>http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/#comments</comments>
		<pubDate>Tue, 27 May 2008 15:02:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Base de donnée]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/</guid>
		<description><![CDATA[Lorsque l&#8217;on a l&#8217;erreur : Got a packet bigger than &#8216;max_allowed_packet&#8217; il faut ajouter dans le fichier /etc/my.cnf, dans la section [mysqld]&#160; la ligne : max_allowed_packet=100M Partagez-le sur Facebook Ajoutez-le à Google Bookmarks Postez-le sur Google Buzz Partagez-le sur Technorati Tweetez-le ! Partagez-le sur Wikio Partagez-le sur Reddit Publiez-le sur Identica]]></description>
			<content:encoded><![CDATA[<p>Lorsque l&#8217;on a l&#8217;erreur : Got a packet bigger than &#8216;max_allowed_packet&#8217;</p>
<p>il faut ajouter dans le fichier /etc/my.cnf, dans la section [mysqld]&#160; la ligne :</p>
<blockquote><p>max_allowed_packet=100M</p>
</blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/&amp;t=Mysql+%3A+Got+a+packet+bigger+than+%27max_allowed_packet%27" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/&amp;title=Mysql+%3A+Got+a+packet+bigger+than+%27max_allowed_packet%27" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Mysql+%3A+Got+a+packet+bigger+than+%27max_allowed_packet%27+-+http://b2l.me/aajytc&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/&amp;title=Mysql+%3A+Got+a+packet+bigger+than+%27max_allowed_packet%27" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/&amp;title=Mysql+%3A+Got+a+packet+bigger+than+%27max_allowed_packet%27" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Mysql+%3A+Got+a+packet+bigger+than+%27max_allowed_packet%27&quot;+-+from+http://b2l.me/aajytc" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2008/05/mysql-got-a-packet-bigger-than-max_allowed_packet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freeware administration mysql</title>
		<link>http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/</link>
		<comments>http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/#comments</comments>
		<pubDate>Mon, 26 May 2008 08:18:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Base de donnée]]></category>

		<guid isPermaLink="false">http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/</guid>
		<description><![CDATA[Il existe plusieurs moyen d&#8217;administrer une base ou un serveur mysql. Le plus connu est phpmyadmin qui permet &#224; partir d&#8217;un serveur web d&#8217;administrer sa base mysql ( Gestion des comptes utilisateurs, cr&#233;ation de base&#8230;) &#160; Il existe aussi quelques client lourd qui effectuent les m&#234;mes op&#233;ration voir plus tel que toad for mysql et [...]


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/04/mysql/' rel='bookmark' title='Permanent Link: Mysql'>Mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/' rel='bookmark' title='Permanent Link: Impossible de se connecter en local avec un mot de passe sur mysql'>Impossible de se connecter en local avec un mot de passe sur mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Il existe plusieurs moyen d&#8217;administrer une base ou un serveur mysql. Le plus connu est phpmyadmin qui permet &#224; partir d&#8217;un serveur web d&#8217;administrer sa base mysql ( Gestion des comptes utilisateurs, cr&#233;ation de base&#8230;)</p>
<p>&#160;</p>
<p>Il existe aussi quelques client lourd qui effectuent les m&#234;mes op&#233;ration voir plus tel que toad for mysql et SQLyog.</p>
<p>&#160;</p>
<p>Toad for mysql est t&#233;l&#233;chargeable &#224; cet emplacement : <a title="http://www.toadsoft.com/toadmysql/FreewareDownload.htm" href="http://www.toadsoft.com/toadmysql/FreewareDownload.htm">http://www.toadsoft.com/toadmysql/FreewareDownload.htm</a></p>
<p>En case de probl&#232;me, vous pouvez aller sur ce site : <a title="http://www.toadworld.com/" href="http://www.toadworld.com/">http://www.toadworld.com/</a></p>
<p><span id="more-81"></span></p>
<p>SQLyog : </p>
<p>Site officiel : <a title="http://www.webyog.com/en/" href="http://www.webyog.com/en/">http://www.webyog.com/en/</a></p>
<p>T&#233;l&#233;chargement : <a title="http://www.clubic.com/telecharger-fiche10963-sqlyog.html" href="http://www.clubic.com/telecharger-fiche10963-sqlyog.html">http://www.clubic.com/telecharger-fiche10963-sqlyog.html</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/&amp;t=Freeware+administration+mysql" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/&amp;title=Freeware+administration+mysql" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Freeware+administration+mysql+-+http://b2l.me/aaueth&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/&amp;title=Freeware+administration+mysql" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/&amp;title=Freeware+administration+mysql" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Freeware+administration+mysql&quot;+-+from+http://b2l.me/aaueth" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/04/mysql/' rel='bookmark' title='Permanent Link: Mysql'>Mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
<li><a href='http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/' rel='bookmark' title='Permanent Link: Impossible de se connecter en local avec un mot de passe sur mysql'>Impossible de se connecter en local avec un mot de passe sur mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2008/05/freeware-administration-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impossible de se connecter en local avec un mot de passe sur mysql</title>
		<link>http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/</link>
		<comments>http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 11:07:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Base de donnée]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://o.legras.free.fr/wordpress/?p=65</guid>
		<description><![CDATA[Il faut v&#233;rifier que dans le fichier de configuration de mysql /etc/my.cnf old_passwords soit &#224; 0 : old_passwords=0 Partagez-le sur Facebook Ajoutez-le à Google Bookmarks Postez-le sur Google Buzz Partagez-le sur Technorati Tweetez-le ! Partagez-le sur Wikio Partagez-le sur Reddit Publiez-le sur Identica]]></description>
			<content:encoded><![CDATA[<p>Il faut v&#233;rifier que dans le fichier de configuration de mysql /etc/my.cnf old_passwords soit &#224; 0 :</p>
<blockquote><p>old_passwords=0</p>
</blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/&amp;t=Impossible+de+se+connecter+en+local+avec+un+mot+de+passe+sur+mysql" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/&amp;title=Impossible+de+se+connecter+en+local+avec+un+mot+de+passe+sur+mysql" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Impossible+de+se+connecter+en+local+avec+un+mot+de+passe+sur+mysql+-+http://b2l.me/aagbkq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/&amp;title=Impossible+de+se+connecter+en+local+avec+un+mot+de+passe+sur+mysql" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/&amp;title=Impossible+de+se+connecter+en+local+avec+un+mot+de+passe+sur+mysql" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Impossible+de+se+connecter+en+local+avec+un+mot+de+passe+sur+mysql&quot;+-+from+http://b2l.me/aagbkq" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2008/04/impossible-de-se-connecter-en-local-avec-un-mot-de-passe-sur-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql</title>
		<link>http://www.croc-informatique.fr/2008/04/mysql/</link>
		<comments>http://www.croc-informatique.fr/2008/04/mysql/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 06:31:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Base de donnée]]></category>

		<guid isPermaLink="false">http://o.legras.free.fr/wordpress/?p=64</guid>
		<description><![CDATA[Connexion &#224; mysql : mysql -h localhost -p -u root Hostname&#160; -h hostname&#8211;host=hostname&#160;&#160; localhost Username&#160; -u username&#8211;user=username&#160;&#160; Your login name Password&#160; -p &#8211;password&#160; None Cr&#233;er une base : CREATE DATABASE nom_base Import : mysql -u user -p base_de_donnees &#60; fichier.sql Cr&#233;er user : Acc&#232;s &#224; toutes les bases : GRANT ALL ON * TO &#8216;user&#8217;@'localhost&#8217; [...]


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Connexion &#224; mysql :</p>
<blockquote><p>mysql -h localhost -p -u root</p>
</blockquote>
<p>Hostname&#160; -h hostname&#8211;host=hostname&#160;&#160; localhost    <br />Username&#160; -u username&#8211;user=username&#160;&#160; Your login name     <br />Password&#160; -p &#8211;password&#160; None </p>
<p>Cr&#233;er une base :</p>
<blockquote><p>CREATE DATABASE nom_base</p>
</blockquote>
<p>Import :</p>
<blockquote><p>mysql -u user -p base_de_donnees &lt; fichier.sql</p>
<p><span id="more-64"></span></p>
</blockquote>
<p>Cr&#233;er user :</p>
<p>Acc&#232;s &#224; toutes les bases :</p>
<blockquote><p>GRANT ALL ON * TO <a href="mailto:'user'@'localhost'">&#8216;user&#8217;@'localhost&#8217;</a> IDENTIFIED BY &#8216;mdp&#8217;; </p>
</blockquote>
<p>user = nom d&#8217;utilisateur</p>
<p>mdp = mot de passe</p>
<p>Acc&#232;s &#224; une base :</p>
<blockquote><p>GRANT ALL ON base.* TO <a href="mailto:'user'@'localhost'">&#8216;user&#8217;@'localhost&#8217;</a> IDENTIFIED BY &#8216;mdp&#8217;;</p>
</blockquote>
<p>.* signifie toutes les tables de la base</p>
<p>ALL signifie tous les privil&#232;ges.</p>
<p>Acc&#232;s seulement &#224; partir d&#8217;un sous-reseau :</p>
<blockquote><p>GRANT ALL ON base.* TO <a href="mailto:'user'@'192.168.26.%'">&#8216;user&#8217;@&#8217;192.168.26.%&#8217;</a> IDENTIFIED BY &#8216;mdp&#8217;;</p>
</blockquote>
<p>Voir les privil&#232;ges d&#8217;un utilisateurs :</p>
<blockquote><p>SHOW GRANTS FOR <a href="mailto:user@localhost">user@localhost</a></p>
</blockquote>
<p>Supprimer un utilisateur :</p>
<blockquote><p>DROP USER <em><code>user</code></em>;</p>
</blockquote>
<p>Changer mot de passe :</p>
<blockquote><p>SET PASSWORD FOR <a href="mailto:'user'@'localhost'">&#8216;user&#8217;@'localhost&#8217;</a> = PASSWORD(&#8216;<em><code>newpass</code></em>&#8216;);</p>
</blockquote>
<p>Renommer utilisateur :</p>
<blockquote><p>RENAME USER <em><code>old_user</code></em> TO <em><code>new_user</code></em></p>
</blockquote>
<p>Se placer dans une base de donn&#233;e :</p>
<blockquote><p>USE nom_base;</p>
</blockquote>
<p>Savoir dans quelle base nous sommes :</p>
<blockquote><p>SELECT DATABASE( );</p>
</blockquote>
<p>Lister toutes les bases :</p>
<blockquote><p>show databases;</p>
</blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2008/04/mysql/&amp;t=Mysql" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2008/04/mysql/&amp;title=Mysql" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2008/04/mysql/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2008/04/mysql/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Mysql+-+http://b2l.me/aaueub&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2008/04/mysql/&amp;title=Mysql" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2008/04/mysql/&amp;title=Mysql" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Mysql&quot;+-+from+http://b2l.me/aaueub" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/' rel='bookmark' title='Permanent Link: Restaurer une base mysql'>Restaurer une base mysql</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2008/04/mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restaurer une base mysql</title>
		<link>http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/</link>
		<comments>http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 18:50:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Base de donnée]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://o.legras.free.fr/wordpress/?p=38</guid>
		<description><![CDATA[mysql -u user -p base_de_donnees &#60; fichier.sql Partagez-le sur Facebook Ajoutez-le à Google Bookmarks Postez-le sur Google Buzz Partagez-le sur Technorati Tweetez-le ! Partagez-le sur Wikio Partagez-le sur Reddit Publiez-le sur Identica Autres articles similaires:Restaurer Lilo


Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2007/06/restaurer-lilo/' rel='bookmark' title='Permanent Link: Restaurer Lilo'>Restaurer Lilo</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>mysql -u user -p base_de_donnees &lt; fichier.sql</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/&amp;t=Restaurer+une+base+mysql" rel="nofollow" class="external" title="Partagez-le sur Facebook">Partagez-le sur Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/&amp;title=Restaurer+une+base+mysql" rel="nofollow" class="external" title="Ajoutez-le à Google Bookmarks">Ajoutez-le à Google Bookmarks</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/&amp;imageurl=" rel="nofollow" class="external" title="Postez-le sur Google Buzz">Postez-le sur Google Buzz</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/" rel="nofollow" class="external" title="Partagez-le sur Technorati">Partagez-le sur Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Restaurer+une+base+mysql+-+http://b2l.me/aauevb&amp;source=shareaholic" rel="nofollow" class="external" title="Tweetez-le !">Tweetez-le !</a>
		</li>
		<li class="shr-wikio">
			<a href="http://www.wikio.com/sharethis?url=http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/&amp;title=Restaurer+une+base+mysql" rel="nofollow" class="external" title="Partagez-le sur Wikio">Partagez-le sur Wikio</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/&amp;title=Restaurer+une+base+mysql" rel="nofollow" class="external" title="Partagez-le sur Reddit">Partagez-le sur Reddit</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Restaurer+une+base+mysql&quot;+-+from+http://b2l.me/aauevb" rel="nofollow" class="external" title="Publiez-le sur Identica">Publiez-le sur Identica</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Autres articles similaires:<ol><li><a href='http://www.croc-informatique.fr/2007/06/restaurer-lilo/' rel='bookmark' title='Permanent Link: Restaurer Lilo'>Restaurer Lilo</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.croc-informatique.fr/2008/02/restaurer-une-base-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
