<?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>am3n portfolio &#187; standalone application</title>
	<atom:link href="http://www.am3n.net/tag/standalone-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.am3n.net</link>
	<description>career, freelance and some stupid thing I do</description>
	<lastBuildDate>Mon, 09 May 2011 16:27:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Running MySQLd as standalone application on Windows</title>
		<link>http://www.am3n.net/2008/05/03/running-mysqld-as-standalone-application-on-windows/</link>
		<comments>http://www.am3n.net/2008/05/03/running-mysqld-as-standalone-application-on-windows/#comments</comments>
		<pubDate>Sat, 03 May 2008 12:18:54 +0000</pubDate>
		<dc:creator>am3n</dc:creator>
				<category><![CDATA[Web and System Administrator]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[standalone application]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://am3n.net/?p=21</guid>
		<description><![CDATA[My friend asked me how to get MySQL running as Windows standalone application. So he can execute the mysql start-up command by putting it inside his application. So every time his application run, it also start up mysql daemon. He doesn&#8217;t want MySQL running as service every time Windows starts as someone can access the [...]]]></description>
			<content:encoded><![CDATA[<p>My friend asked me how to get MySQL running as Windows standalone application. So he can execute the mysql start-up command by putting it inside his application. So every time his application run, it also start up mysql daemon. He doesn&#8217;t want MySQL running as service every time Windows starts as someone can access the data from outside his program. So after couple of times trying, here it is.</p>
<p><strong>Note</strong>:</p>
<ul>
<li>I am using 3.23.58 version because it&#8217;s the simplest mysql binaries for Windows. But for enhanced feature and security, I think it can be done on newest mysql version.</li>
<li>I assume you save the zip file on drive C:\&gt; and extract it there.</li>
</ul>
<p><span id="more-21"></span></p>
<p>So here <a href="http://am3n.net/wp-content/uploads/2008/05/server.zip">MySQL 3.23.58 Windows binary no install</a> (trimmed version because this is all I need). And below is how to use it:</p>
<pre>MySQL Windows version
---------------------

c:\&gt;cd server\bin

- To start as standalone program
c:\server\bin&gt;mysqld-nt.exe --standalone

- To shutdown
c:\server\bin&gt;mysqladmin -u root [-pXXX] shutdown

- To change password
c:\server\bin&gt;mysqladmin -u root password [oldpass] newpass</pre>
<script type="text/javascript" src="http://cdn.socialtwist.com/2009042316105/script.js"></script><a class="st-taf" href="http://tellafriend.socialtwist.com:80" onclick="return false;" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/2009042316105/button.png"onmouseout="STTAFFUNC.hideHoverMap(this)" onmouseover="STTAFFUNC.showHoverMap(this, '2009042316105', 'http%3A%2F%2Fwww.am3n.net%2F2008%2F05%2F03%2Frunning-mysqld-as-standalone-application-on-windows%2F', 'Running+MySQLd+as+standalone+application+on+Windows')" onclick="STTAFFUNC.cw(this, {id:'2009042316105', link: 'http%3A%2F%2Fwww.am3n.net%2F2008%2F05%2F03%2Frunning-mysqld-as-standalone-application-on-windows%2F', title: 'Running+MySQLd+as+standalone+application+on+Windows' });"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.am3n.net/2008/05/03/running-mysqld-as-standalone-application-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

