<?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>Otak Atik [dot] Com &#187; MySQL</title>
	<atom:link href="http://www.otakatik.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.otakatik.com</link>
	<description>Empowering Computer</description>
	<lastBuildDate>Wed, 25 Jan 2012 09:06:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Show MySQL Version On Status Bar</title>
		<link>http://www.otakatik.com/show-mysql-version-on-status-bar/</link>
		<comments>http://www.otakatik.com/show-mysql-version-on-status-bar/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 14:13:18 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/?p=76</guid>
		<description><![CDATA[Every time I programmed database system with Visual Basic, I always put MySQL version on status bar so that I always reminded to upgrade MySQL server. To create it, you just need to create a simple procedure. This is the tutorial: 1. Bring your Visual Basic to design mode first, open your MDI form so [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0032/logo.jpg" alt="" /><br />
Every time I programmed database system with Visual Basic, I always put MySQL version on status bar so that I always reminded to upgrade MySQL server. To create it, you just need to create a simple procedure.<span id="more-76"></span></p>
<p>This is the tutorial:</p>
<p>1. Bring your Visual Basic to design mode first, open your MDI form so that you can edit the status bar properties. To open status bar property pages, right click the status bar and then click <strong>Properties</strong> menu.</p>
<p><img title="Right click status bar" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0032/picture-1.jpg" alt="Right click status bar" /></p>
<p>2. In <strong>Property Pages</strong>, click <strong>Panels</strong> tab, insert new panel by click <strong>Insert Panel</strong> button, set Minimum Width to at least <em>2500</em> then click <strong>OK</strong> button. Don’t forget to watch the index of panel.</p>
<p><img title="Insert a new panel" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0032/picture-2.jpg" alt="Insert a new panel" /></p>
<p>3. Then write this script in your MDI main form or you can also write it on module.</p>
<pre name="code" class"ruby">Private Sub versi_server()
Dim rs_versi As New ADODB.Recordset
Dim str_versi As String
'/string sql
On Error GoTo versi_server_Error

str_versi = "SELECT VERSION() AS versi"
'/open recordset
With rs_versi
    .CursorLocation = adUseClient
    .Open str_versi, myconn, adOpenStatic, adLockReadOnly
StatusBar1.Panels(8).Text = "MySQL " &amp; .Fields("versi")
StatusBar1.Panels(10).Text = "Connected"
'Call set_lampu_connect(1)
End With
Set rs_versi = Nothing
'-----------------------------------------------------------------
On Error GoTo 0
Exit Sub

versi_server_Error:
    MsgBox "Got error ! " &amp; vbCrLf &amp; "Error number : " &amp; Err.Number &amp; vbCrLf &amp; "Deskripsi : " &amp; Err.Description &amp; vbCrLf &amp; "in procedure versi_server in [Form]-&gt;frmutama"
End Sub</pre>
<p><img title="Write te script" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0032/picture-3.jpg" alt="Write the script" /></p>
<p>4. After you write it (you can copy paste my script above), call it (versi_server procedure) on <em>Form_Load</em> procedure to load it every time your MDI main is loaded.</p>
<p><em>(article no:0032)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/show-mysql-version-on-status-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing MySQL Service Through NET Command</title>
		<link>http://www.otakatik.com/managing-mysql-service-through-net-command/</link>
		<comments>http://www.otakatik.com/managing-mysql-service-through-net-command/#comments</comments>
		<pubDate>Fri, 25 May 2007 14:54:14 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[windows xp service]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/managing-mysql-service-through-net-command/</guid>
		<description><![CDATA[If you want start and stop MySQL server on Windows XP, you can do it through MySQL Administrator or Service Console. And you can control it through command prompt, I&#8217;ll share it&#8230; You can use net command to doing this job. OK, follow these steps: 1. Open your command prompt console via Start &#8211; Run [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0053/logo.png" alt="Logo" title="Logo MySQL NET Command" /><br />
If you want start and stop MySQL server on Windows XP, you can do it through MySQL Administrator or Service Console. And you can control it through command prompt, I&#8217;ll share it&#8230;<br />
<span id="more-21"></span><br />
You can use net command to doing this job.<br />
OK, follow these steps:<br />
1. Open your command prompt console via <strong>Start &#8211; Run</strong> menu and type <code>cmd</code> on textbox<br />
<img src="http://www.otakatik.com/wp-content/uploads/general/run-dialog-cmd.jpg" alt="Start Run menu" title="Start Run menu" /><br />
or <strong>Start &#8211; All Programs &#8211; Accessories &#8211; Command Prompt</strong> menu (figure-2).<br />
<img src="http://www.otakatik.com/wp-content/uploads/general/call-commandprompt.jpg" alt="Command Prompt" title="Command Prompt icon" /></p>
<p>2. And if you want to stop MySQL server type <code>net stop mysql</code> and press ENTER key (figure-3).<br />
<img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0053/net_start_mysq_1.jpg" alt="NET Stop MySQL" title="NET Stop MySQL" /></p>
<p>3. Otherwise if you want to start it just type <code>net start mysql</code> and press ENTER key (figure-4).<br />
<img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0053/net_stop_mysql_2.jpg" alt="NET Start MySQL" title="NET Start MySQL" /></p>
<p>4. It&#8217;s so simple, isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/managing-mysql-service-through-net-command/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

