List:Commits« Previous MessageNext Message »
From:mcbrown Date:November 28 2006 6:08pm
Subject:svn commit - mysqldoc@docsrva: r4060 - trunk/refman-5.0
View as plain text  
Author: mcbrown
Date: 2006-11-28 19:08:11 +0100 (Tue, 28 Nov 2006)
New Revision: 4060

Log:
Updating version information



Modified:
   trunk/refman-5.0/installing-version.xml


Modified: trunk/refman-5.0/installing-version.xml
===================================================================
--- trunk/refman-5.0/installing-version.xml	2006-11-28 17:59:32 UTC (rev 4059)
+++ trunk/refman-5.0/installing-version.xml	2006-11-28 18:08:11 UTC (rev 4060)
Changed blocks: 1, Lines Added: 61, Lines Deleted: 21; 3566 bytes

@@ -1,26 +1,66 @@
+<section id="installation-version">
 
-  <section id="installation-version">
   <title>Determining your current MySQL version</title>
-  
-    <para>To determine the version and release of your currently installed MySQL
-      installation, there are a number of options.</para>
-    <para>Using a command client
-      (<literal>mysql</literal>), the server version of the MySQL server that
-      you are connected to will be shown once you are connected: </para>
-    
-    <programlisting>Welcome to the MySQL monitor.  Commands end with ; or \g.
-Your MySQL connection id is 3 to server version: 5.0.26-community-nt
 
+  <para>
+    To determine the version and release of your currently installed
+    MySQL installation, there are a number of options.
+  </para>
+
+  <para>
+    Using a command client (<literal>mysql</literal>), the server
+    version of the MySQL server that you are connected to will be shown
+    once you are connected. The server version information will include
+    <literal>community</literal> or <literal>enterprise</literal>
+    accordingly.
+  </para>
+
+  <para>
+    For example, here is the output from a MySQL Community Server
+    edition installed on Linux:
+  </para>
+
+<programlisting>Welcome to the MySQL monitor.  Commands end with ; or \g.
+Your MySQL connection id is 6
+Server version: 5.0.27-standard MySQL Community Edition - Standard (GPL)
+
 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
 
-mysql></programlisting>
-    
-    <para>The server version information will include the
-      <literal>community</literal> or <literal>enterprise</literal></para>
-    
-    <orderedlist>
-      <listitem><para>Connect to your MySQL server through a</para></listitem>
-    </orderedlist>
-    
-    
-  </section>
\ No newline at end of file
+mysql&gt;</programlisting>
+
+  <para>
+    Below is the output from MySQL Enterprise Server on Windows:
+  </para>
+
+<programlisting>Welcome to the MySQL monitor.  Commands end with ; or \g.
+Your MySQL connection id is 2
+Server version: 5.0.28-enterprise-gpl-nt MySQL Enterprise Server (GPL)
+
+Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
+
+mysql&gt; </programlisting>
+
+  <para>
+    You may also determine the version information using the version
+    variables. Both the <literal>version</literal> and
+    <literal>version_comment</literal> variables contain version
+    information for the server you are connected to. Use the
+    <literal>SHOW VARIABLES</literal> statement to obtain the
+    information you want. For example:
+  </para>
+
+<programlisting>mysql> show variables like "%version%";
++-------------------------+------------------------------------------+
+| Variable_name           | Value                                    |
++-------------------------+------------------------------------------+
+| protocol_version        | 10                                       | 
+| version                 | 5.0.27-standard                          | 
+| version_comment         | MySQL Community Edition - Standard (GPL) | 
+| version_compile_machine | i686                                     | 
+| version_compile_os      | pc-linux-gnu                             | 
++-------------------------+------------------------------------------+
+5 rows in set (0.04 sec)
+
+mysql&gt; </programlisting>
+
+</section>


Thread
svn commit - mysqldoc@docsrva: r4060 - trunk/refman-5.0mcbrown28 Nov