<?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>Kurinchi Blogger Scribbles ... &#187; MySql</title>
	<atom:link href="http://kurinchilamp.kurinchilion.com/category/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://kurinchilamp.kurinchilion.com</link>
	<description>On Open Source Technologies</description>
	<lastBuildDate>Mon, 02 Jan 2012 06:14:45 +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>MySQL: &#8216;Access denied for user &#8216;root&#8217;@&#039;localhost&#8217; (using password: YES)&#8217;</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/09/mysql-access-denied-for-user-rootlocalhost-using-password-yes.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/09/mysql-access-denied-for-user-rootlocalhost-using-password-yes.html#comments</comments>
		<pubDate>Sun, 18 Sep 2011 13:44:37 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[change password mysql]]></category>
		<category><![CDATA[mysql access denied]]></category>
		<category><![CDATA[mysql password old password]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=917</guid>
		<description><![CDATA[The above error message most likely occurs when users change password in one environment (via command line or phpmyadmin) and do not see the changes reflect in other OR if they have forgotten the password that is being set for the environment in question. Following command should help you set/change MySQL password $ mysql -u [...]]]></description>
			<content:encoded><![CDATA[<p>The above error message most likely occurs when users change password in one environment (via command line or phpmyadmin) and do not see the changes reflect in other OR if they have forgotten the password that is being set for the environment in question.</p>
<p>Following command should help you set/change MySQL password</p>
<p>$ mysql -u root -p<br />
<span id="more-917"></span><br />
mysql&gt; use mysql;<br />
mysql&gt; show tables;<br />
mysql&gt; desc user;<br />
mysql&gt; update user set password=PASSWORD(&#8216;mypassword&#8217;) where User=&#8217;root&#8217;;<br />
mysql&gt; flush privileges;<br />
mysql&gt; \q</p>
<p>Now you need to enter the new password for the user &#8216;root&#8217; to gain access to mysql.</p>
<p>Point to note:</p>
<p>Prior to MySQL 4.1 PASSWORD function returns 16 byte string and in later versions it returns 41 byte string. In later versions, passwords begin with &#8220;*&#8221;. When users migrate databases from one version to other there are chances for the application to break if this factor is not considered. In later versions, if users want to still use the old form of password hashing there is a function &#8220;OLD_PASSWORD&#8221; available to them.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/09/mysql-access-denied-for-user-rootlocalhost-using-password-yes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: How to stop, start or restart mysql?</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/08/mysql-how-to-stop-start-or-restart-mysql.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/08/mysql-how-to-stop-start-or-restart-mysql.html#comments</comments>
		<pubDate>Thu, 11 Aug 2011 00:00:34 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[mysql restart]]></category>
		<category><![CDATA[mysql start]]></category>
		<category><![CDATA[mysql stop]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=906</guid>
		<description><![CDATA[In linux, following commands are used to start/stop/restart mysql $/etc/init.d/mysqld start $/etc/init.d/mysqld restart $/etc/init.d/mysqld stop In windows, mysql runs as a service. C:&#62; net stop mysql C:&#62; net start mysql]]></description>
			<content:encoded><![CDATA[<p><em>In linux, following commands are used to start/stop/restart mysql</em></p>
<p>$<strong>/etc/init.d/mysqld start</strong><br />
$<strong>/etc/init.d/mysqld restart</strong><br />
$<strong>/etc/init.d/mysqld stop</strong></p>
<p><em>In windows, mysql runs as a service.</em><br />
C:&gt; <strong>net stop mysql</strong><br />
C:&gt; <strong>net start mysql</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/08/mysql-how-to-stop-start-or-restart-mysql.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Case sensitive MySQL table names</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/07/linux-case-sensitive-mysql-table-names.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/07/linux-case-sensitive-mysql-table-names.html#comments</comments>
		<pubDate>Thu, 21 Jul 2011 00:11:29 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[lower_case_table_names]]></category>
		<category><![CDATA[my.cnf]]></category>
		<category><![CDATA[mysql case sensitive]]></category>
		<category><![CDATA[mysql table not found]]></category>
		<category><![CDATA[sql case sensitive error]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=909</guid>
		<description><![CDATA[When transitioning MySQL database from Windows to Linux, users often encounter issues related to case-sensitiveness. Windows is case-insensitive and Linux is case-sensitive. In such scenarios when a database call is made after the application migration happens, users often run into errors which can send them in circles between the migration servers. Solution to this problem [...]]]></description>
			<content:encoded><![CDATA[<p>When transitioning MySQL database from Windows to Linux, users often encounter issues related to case-sensitiveness.  Windows is case-insensitive and Linux is case-sensitive. </p>
<p>In such scenarios when a database call is made after the application migration happens, users often run into errors which can send them in circles between the migration servers.</p>
<p>Solution to this problem is to add a single line of text under <strong>my.cnf</strong> (MySQL configuration file) under <em>[mysqld]</em><strong><span id="more-909"></span></p>
<p><strong>lower_case_table_names=1</strong></p>
<p><strong>$ whereis my.cnf</strong><br />
/etc/my.cnf</p>
<p>$ vi my.cnf<br />
&#8230;<br />
&#8230;<br />
<em>[mysqld]</em><br />
lower_case_table_names=1</p>
<p><strong>Common Errors related to this issue</strong></p>
<p>When the application is executed, users get &#8220;table not found&#8221; errors which is an indication of this error.  You can verify the error by issuing the command</p>
<p><strong>$ mysqladmin -uAdmin -pPass variables</strong></p>
<p>and check for the value of <em>lower_case_table_names</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/07/linux-case-sensitive-mysql-table-names.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: Default collation latin1_swedish_ci (swedish case insensitive)</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/03/mysql-default-collation-latin1_swedish_ci-swedish-case-insensitive.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/03/mysql-default-collation-latin1_swedish_ci-swedish-case-insensitive.html#comments</comments>
		<pubDate>Sat, 26 Mar 2011 15:41:51 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[my.cnf]]></category>
		<category><![CDATA[mysql collation]]></category>
		<category><![CDATA[mysql default collation]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=893</guid>
		<description><![CDATA[When new fileds are created as variable characters they get stored as latin1_swedish_ci as default. To change the default collation users will have to manually select the collation of their choice from the mysql admin interface such as in the case of phpmyadmin or will have to denote it in sql queries. To make a [...]]]></description>
			<content:encoded><![CDATA[<p>When new fileds are created as variable characters they get stored as <strong>latin1_swedish_ci</strong> as default. To change the default collation users will have to manually select the collation of their choice from the mysql admin interface such as in the case of <em>phpmyadmin</em> or will have to denote it in sql queries.</p>
<p>To make a specific collation as the default, other option to give mysql an indication of it by having the needed collation name in <strong>my.cnf (mysql configuration)</strong> as shown below</p>
<p><strong>Edit my.cnf: </strong><br />
<em>[mysqld]<br />
collation_server=latin1_general_ci</em><br />
<span id="more-893"></span><br />
<em>MySql command to set collation type when creating database is given below:</em></p>
<p><strong>Latin1 encoding</strong><br />
CREATE DATABASE sampledb DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci;</p>
<p><strong>UTF-8 encoding</strong><br />
CREATE DATABASE sampledb DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;</p>
<p>Once the encoding for the database is set, fields associated with the tables in our new database will take up default collation as the one set during the database creation.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/03/mysql-default-collation-latin1_swedish_ci-swedish-case-insensitive.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Database Error: Error 28 from Storage engine</title>
		<link>http://kurinchilamp.kurinchilion.com/2011/01/mysql-database-error-error-28-from-storage-engine.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2011/01/mysql-database-error-error-28-from-storage-engine.html#comments</comments>
		<pubDate>Sun, 09 Jan 2011 17:03:58 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[repair table]]></category>
		<category><![CDATA[storage engine]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=874</guid>
		<description><![CDATA[Reason for the error is the availability of space allocated to the MySQL database in the specified partition. Easy fix for this is to go to the PhpMyAdmin interface (via CPanel/WHM) and identify the tables which has some value in under overhead column. Select ALL those tables and choose the option &#8220;Repair table&#8221; after you [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Reason for the error</strong> is the availability of space allocated to the <em>MySQL database</em> in the specified partition.</p>
<p>Easy fix for this is to go to the PhpMyAdmin interface (via CPanel/WHM) and identify the tables which has some value in under overhead column. Select ALL those tables and choose the option &#8220;<strong>Repair table</strong>&#8221; after you ensure that there is enough space in the database.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2011/01/mysql-database-error-error-28-from-storage-engine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL GUI tool for Data Management</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/05/mysql-gui-tool-for-data-management.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/05/mysql-gui-tool-for-data-management.html#comments</comments>
		<pubDate>Thu, 20 May 2010 08:08:57 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[Free Download]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[data management]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Heidi SQL]]></category>
		<category><![CDATA[HeidiSQL]]></category>
		<category><![CDATA[MySQL Administration]]></category>
		<category><![CDATA[mysql free]]></category>
		<category><![CDATA[MySQL GUI]]></category>
		<category><![CDATA[mysql windows]]></category>
		<category><![CDATA[MySQL Workbench]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=851</guid>
		<description><![CDATA[HeidiSQL - a comprehensive tool for MySQL management which is available for Free. Manage data tables, export/import databases, synchronise tables between databases, integrity check, database backup service management, edit database content and many more features packaged as a solution for ALL your MySQL needs. This runs on windows platforms &#8211; WinXP/XP7 and you can download [...]]]></description>
			<content:encoded><![CDATA[<p><strong>HeidiSQL </strong>- a comprehensive tool for MySQL management which is available for Free. </p>
<p>Manage data tables, export/import databases, synchronise tables between databases, integrity check, database backup service management, edit database content and many more features packaged as a solution for ALL your MySQL needs.</p>
<p>This runs on windows platforms &#8211; WinXP/XP7 and you can download HeidiSQL from <a href="http://www.heidisql.com/download.php">Download link</a><br />
<span id="more-851"></span><br />
Another GUI tool that is available in the market is <strong>MySQL Workbench</strong>. The OSS edition of this tool is available under GPL and  provides database administrators with database design, modeling with an intuitive GUI. <a href="http://dev.mysql.com/downloads/workbench/5.0.html">Download MySQL Workbench</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/05/mysql-gui-tool-for-data-management.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Types</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/04/backup-types.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/04/backup-types.html#comments</comments>
		<pubDate>Wed, 28 Apr 2010 06:49:03 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[backup type]]></category>
		<category><![CDATA[differential backup]]></category>
		<category><![CDATA[full backup]]></category>
		<category><![CDATA[incremental backup]]></category>
		<category><![CDATA[mirror backup]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=823</guid>
		<description><![CDATA[Full backup Full backup is process of backing up ALL data. First step towards all other types of backup Backup time will be longer Restore operation takes less time Differential backup Differential backup is the process of backing up data that has changed since the last FULL backup. Requires file maintenance as the backup file [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Full backup</strong><br />
Full backup is process of backing up ALL data.<br />
First step towards all other types of backup<br />
Backup time will be longer<br />
Restore operation takes less time</p>
<p><strong>Differential backup</strong><br />
Differential backup is the process of backing up data that has changed since the last FULL backup.<br />
Requires file maintenance as the backup file will be of similar size or larger than its previous backup<br />
Longer backup time than incremental backup<br />
Faster restoration than incremental backup</p>
<p><strong>Incremental backup</strong><br />
Incremental backup is the process of backing up data that has changed since the last Full, Incremental or Differential backup<br />
Takes lesser backup time as it will have small data to archive<br />
Takes longer restoration time</p>
<p><strong>Mirror backup</strong><br />
Mirror backup is similar to full backup and is a direct copy of the files/folders<br />
Files are not compressed in zip files and are not protected with password. They remain the mirror or exact copy of the source.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/04/backup-types.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to import mysql dump (.gz or .sql) into a database?</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/04/how-to-import-mysql-dump-gz-or-sql-into-a-database.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/04/how-to-import-mysql-dump-gz-or-sql-into-a-database.html#comments</comments>
		<pubDate>Mon, 05 Apr 2010 15:40:29 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[decompress]]></category>
		<category><![CDATA[Gunzip]]></category>
		<category><![CDATA[mysql dump]]></category>
		<category><![CDATA[mysql uncompress]]></category>
		<category><![CDATA[uncompress .gz]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=815</guid>
		<description><![CDATA[When moving mysql database from one server to another or, to test that the data backup works as expected we need to import mysql dump file in the testing environment. Create the database (test-database) in the testing environment and identify the location of the .gz or .sql file. If the mysql dump was a .gz [...]]]></description>
			<content:encoded><![CDATA[<p>When moving mysql database from one server to another or, to test that the data backup works as expected we need to import mysql dump file in the testing environment.</p>
<p>Create the database (test-database) in the testing environment and identify the location of the .gz or .sql file.</p>
<p>If the mysql dump was a .gz file, you need to gunzip to uncompress the file by typing<br />
<strong>$ gunzip mysqldump.sql.gz</strong></p>
<p>This will uncompress the .gz file and will just store mysqldump.sql in the same location.<br />
<span id="more-815"></span><br />
Type the following command to import sql data file:</p>
<p><strong>$ mysql -u username -p -h localhost test-database < mysqldump.sql<br />
password: _</strong></p>
<p>For the hostname part, you need to give the respective hostname of the mysql server depending on how it was configured (some times it may be just an IP, some times it may be an IP with port number)</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/04/how-to-import-mysql-dump-gz-or-sql-into-a-database.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu: Configure PHPMyAdmin in Simple Steps</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/03/ubuntu-configure-phpmyadmin-in-simple-steps.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/03/ubuntu-configure-phpmyadmin-in-simple-steps.html#comments</comments>
		<pubDate>Fri, 12 Mar 2010 06:00:45 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=768</guid>
		<description><![CDATA[$ sudo apt-get install phpmyadmin For versions 7.10 and up, choose &#8220;Apache 2&#8243; from the screen &#8220;Configuring phpmyadmin&#8221; If everything goes fine, you can access phpmyadmin from http://servername/phpmyadmin If you have created users in MySQL, you can use those credentials to log into the database. The basic admin account is &#8220;admin&#8221; with no password. Phpmyadmin [...]]]></description>
			<content:encoded><![CDATA[<p><strong>$ sudo apt-get install phpmyadmin</strong></p>
<p>For versions 7.10 and up, choose &#8220;Apache 2&#8243; from the screen &#8220;Configuring phpmyadmin&#8221;</p>
<p>If everything goes fine, you can access phpmyadmin from<br />
<strong>http://servername/phpmyadmin</strong></p>
<p>If you have created users in MySQL, you can use those credentials to log into the database. The basic admin account is &#8220;admin&#8221; with no password.</p>
<p>Phpmyadmin defaults to requiring you to login after 1800 seconds of inactivity.</p>
<p>&raquo; MySQL Create User, Grant Rights <a href="http://kurinchilamp.kurinchilion.com/2009/04/mysql-create-user-grant-rights.html">http://kurinchilamp.kurinchilion.com/2009/04/mysql-create-user-grant-rights.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/03/ubuntu-configure-phpmyadmin-in-simple-steps.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: Can&#8217;t connect to local MySQL server through socket &#8216;/var/run/mysqld/mysqld.sock&#8217;</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/02/mysql-cant-connect-to-local-mysql-server-through-socket-varrunmysqldmysqld-sock.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/02/mysql-cant-connect-to-local-mysql-server-through-socket-varrunmysqldmysqld-sock.html#comments</comments>
		<pubDate>Fri, 05 Feb 2010 08:27:25 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[my.cnf]]></category>
		<category><![CDATA[mysql socket error]]></category>
		<category><![CDATA[netstat]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=751</guid>
		<description><![CDATA[Reason why this error might occur: i) Incomplete MySQL implementation ii) MySQL setting mis-configuration Solution: root@myserver:/# vi /etc/mysql/my.cnf Comment out the below line in my.cnf file to make MySQL listen on ALL interfaces #bind-address = 127.0.0.1 root@myserver:/# netstat -tap &#124; grep mysql tcp 0 0 *:mysql *:* LISTEN 17785/mysqld Note that above line which indicates [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Reason why this error might occur:</strong></p>
<p>i) Incomplete MySQL implementation<br />
ii) MySQL setting mis-configuration</p>
<p><strong>Solution:</strong></p>
<p><strong>root@myserver:/# vi /etc/mysql/my.cnf</strong></p>
<p>Comment out the below line in my.cnf file to make MySQL listen on ALL interfaces<br />
#bind-address = 127.0.0.1</p>
<p><strong>root@myserver:/# netstat -tap | grep mysql</strong><br />
tcp        0      0 *:mysql                 *:*                     LISTEN      17785/mysqld</p>
<p>Note that above line which indicates MySQL listening on all interfaces.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/02/mysql-cant-connect-to-local-mysql-server-through-socket-varrunmysqldmysqld-sock.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

