<?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>Avivo Tech Blog &#187; mysql</title>
	<atom:link href="http://tech.avivo.si/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.avivo.si</link>
	<description>Solving problems</description>
	<lastBuildDate>Tue, 24 Jan 2012 14:46:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Client does not support authentication protocol requested by server; consider upgrading MySQL client</title>
		<link>http://tech.avivo.si/2009/03/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client</link>
		<comments>http://tech.avivo.si/2009/03/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 14:57:20 +0000</pubDate>
		<dc:creator>Avivo</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Client does not support authentication protocol requested by server; consider upgrading MySQL client]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.sweetucan.com/?p=44</guid>
		<description><![CDATA[If you got this strange message on MySQL: Client does not support authentication protocol requested by server; consider upgrading MySQL client Then you will need to do the following: Start DOS mysql script manager with command (I assume that you put MySQL/bin to the PATH enviroment variable): mysql -u [dbusername] -p, where dbusername is username [...]]]></description>
			<content:encoded><![CDATA[<p>If you got this strange message on MySQL:</p>
<p><em>Client does not support authentication protocol requested by server; consider upgrading MySQL client</em></p>
<p>Then you will need to do the following:</p>
<ol>
<li>Start DOS <strong>mysql </strong>script manager with command (I assume that you put MySQL/bin to the PATH enviroment variable):<br />
<strong>mysql -u [dbusername] -p</strong>, where dbusername is username for your database</li>
<li>Enter your current password and you will get <strong>mysql &gt; </strong>prompt</li>
<li>Type:<br />
<strong>SET PASSWORD = OLD_PASSWORD(&#8216;MyPassword&#8217;);</strong></li>
<li>Type:<br />
<strong>FLUSH PRIVILEGES;</strong></li>
</ol>
<p>And thats it!</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.avivo.si/2009/03/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySql dump, tar, restore&#8230;</title>
		<link>http://tech.avivo.si/2009/02/mysql-dump-tar-restore/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-dump-tar-restore</link>
		<comments>http://tech.avivo.si/2009/02/mysql-dump-tar-restore/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 09:27:32 +0000</pubDate>
		<dc:creator>Avivo</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[export mysql]]></category>
		<category><![CDATA[import mysql]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[migrate data]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql dump]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://blog.sweetucan.com/?p=37</guid>
		<description><![CDATA[Very often you need to migrate your MySQL database from one server to another, from Windows to Linux, Linux to Linux&#8230;. So, first you need to create dump of your existing database, to export it to a file. Here is the command: mysqldump -P 3306 -u database_username -p database_name &#62; /home/somedirectory/your_database.sql -P - means port, [...]]]></description>
			<content:encoded><![CDATA[<p>Very often you need to migrate your MySQL database from one server to another, from Windows to Linux, Linux to Linux&#8230;.</p>
<p>So, first you need to create dump of your existing database, to export it to a file. Here is the command:</p>
<blockquote><p>mysqldump -P 3306 -u database_username -p database_name &gt; /home/somedirectory/your_database.sql</p></blockquote>
<p><strong>-P </strong>- means port, if you don&#8217;y mention it default port is used (usually 3306)<br />
<strong>-u</strong> &#8211; means database username<br />
<strong>-p</strong> &#8211; means password but we didn&#8217;t specified it so after this command is executed we will be asked to type a password<strong><br />
database_name</strong> &#8211; is the name of your database you want to export<br />
<strong>&gt; location</strong> &#8211; at the end you specify directory where you want to create this dump</p>
<p>You probably want to zip this and you can use TAR (install Cygwin if working on Windows):<br />
Here is the command:</p>
<blockquote><p>tar cvf database.tar /home/somedirectory/your_database.sql</p></blockquote>
<p>Transfer this file on other server using FTP&#8230; And unzip it if you want using command:</p>
<blockquote><p>tar -xvf database.tar</p></blockquote>
<p>Then import the database:</p>
<blockquote><p>mysql -P 3306 -u  database_username -p new_existing_database_name &lt; /home/somedirectory/public_ftp/your_database.sql</p></blockquote>
<p><strong>-P </strong>- means port, if you don&#8217;y mention it default port is used (usually 3306)<br />
<strong>-u</strong> &#8211; means database username<br />
<strong>-p</strong> &#8211; means password but we didn&#8217;t specified it so after this command is executed we will be asked to type a password<strong><br />
new_existing_database_name</strong> &#8211; is the name of your existing database on new server where you want to import data<br />
<strong>&lt; location</strong> &#8211; at the end you specify from which directory you want to import database</p>
<p>And thats it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.avivo.si/2009/02/mysql-dump-tar-restore/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

