<?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/tag/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: 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>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>MySQL Clear Screen Window</title>
		<link>http://kurinchilamp.kurinchilion.com/2010/03/mysql-clear-screen-window.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2010/03/mysql-clear-screen-window.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 14:46:14 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[clean window]]></category>
		<category><![CDATA[clear screen]]></category>
		<category><![CDATA[linux command to clear screen]]></category>
		<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=758</guid>
		<description><![CDATA[To clear the screen content in MySQL use the command mysql> \! clear Usage of &#8220;\!&#8221; tells MySQL to pass the command to Linux OS to handle the request. If you are in a Windows environment (DOS prompt), to pass the control to the OS you can use the command mysql>system cls]]></description>
			<content:encoded><![CDATA[<p>To clear the screen content in MySQL use the command</p>
<p><strong>mysql> \! clear</strong></p>
<p>Usage of &#8220;\!&#8221; tells MySQL to pass the command to Linux OS to handle the request.</p>
<p>If you are in a Windows environment (DOS prompt), to pass the control to the OS you can use the command</p>
<p><strong>mysql>system cls</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2010/03/mysql-clear-screen-window.html/feed</wfw:commentRss>
		<slash:comments>1</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>
		<item>
		<title>How to Export Mysql schema, data to Access database?</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/08/how-to-export-mysql-schema-data-to-access-database.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/08/how-to-export-mysql-schema-data-to-access-database.html#comments</comments>
		<pubDate>Wed, 19 Aug 2009 06:43:36 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[export data to access]]></category>
		<category><![CDATA[mysql to access]]></category>
		<category><![CDATA[mysql to access export]]></category>
		<category><![CDATA[sql database]]></category>
		<category><![CDATA[sql schema]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=648</guid>
		<description><![CDATA[In order for you to export data from MySQL to Access database, you need to first download MySQL ODBC connector from http://dev.mysql.com/downloads/connector/odbc/3.51.html (Choose MSI installer from the downloads section and install it in your machine) After installing MySQL ODBC connector, you need to configure ODBC connector in order connect MySQL database. 1. Choose Start &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>In order for you to export data from MySQL to Access database, you need to first download <strong>MySQL ODBC</strong> connector from</p>
<p><a href="http://dev.mysql.com/downloads/connector/odbc/3.51.html" target="_new">http://dev.mysql.com/downloads/connector/odbc/3.51.html</a></p>
<p>(Choose MSI installer from the downloads section and install it in your machine)</p>
<p><strong>After installing MySQL ODBC connector, you need to configure ODBC connector in order connect MySQL database.</strong></p>
<p>1. Choose Start &gt; settings &gt; Control Panel &gt; Administrative Tools. Then double click on <strong>Data Sources (ODBC)</strong></p>
<p>2. Click <strong>System DSN</strong> and then press &#8220;Add&#8221; button. There will be a dialog asking you to choose new data source. Choose <strong>MySQL ODBC </strong>3.51 driver and click Finish</p>
<p>3. Next you need to fill in the details that will enable ODBC drive to open the database of your choice. Give a name for the data source (e.g. MyDSN), Server name (e.g. localhost), User (e.g. sqlusername), Password (password for user sqlusername) and the name of the database to which you want to connect to in MySQL</p>
<p>4. Click the Test button to ensure everything works fine and as expected.</p>
<p>5. The DSN &#8220;MyDSN&#8221; gets created for you when you click the &#8220;Ok&#8221; button.</p>
<p>6. Now, go to Access and create a database (e.g. MyAccessDB)</p>
<p>7. In Access, click <strong>&#8220;File &gt; Get External Data &gt; Import &gt; and then choose &#8220;ODBC Databases&#8221;</strong> from &#8220;<strong>Files of Type</strong>&#8221; option. This will open a new dialog window asking you to &#8220;Select Data Source&#8221;</p>
<p>8. From the new dialog window, choose &#8220;<strong>Machine Data Source</strong>&#8220;. This will display the DSN &#8220;MyDSN&#8221; which you have created earlier. Choose that <strong>DSN </strong>and click &#8220;Ok&#8221; to import the database from MySQL to Access database.</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/08/how-to-export-mysql-schema-data-to-access-database.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql: How to clear the screen from command prompt?</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/08/mysql-how-to-clear-the-screen-from-command-prompt.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/08/mysql-how-to-clear-the-screen-from-command-prompt.html#comments</comments>
		<pubDate>Sat, 01 Aug 2009 06:48:59 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[clear screen]]></category>
		<category><![CDATA[command prompt]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=557</guid>
		<description><![CDATA[Command to clear the screen content from command prompt in MySQL mysql> \! clear]]></description>
			<content:encoded><![CDATA[<p><strong>Command to clear the screen content from command prompt in MySQL</strong></p>
<p><strong>mysql> \! clear</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/08/mysql-how-to-clear-the-screen-from-command-prompt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql: Test database</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/07/mysql-test-database.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/07/mysql-test-database.html#comments</comments>
		<pubDate>Wed, 08 Jul 2009 12:51:32 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[Linux Database]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[test database]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=480</guid>
		<description><![CDATA[Ever wondered why there is a &#8220;test&#8221; database in the list of tables when you install MySQL. This is to allow users to practice MySQL commands or execute complex queries on the database. &#8220;test&#8221; database is accessible to everyone who has access to MySQL in your localhost and hence is not advisable if you were [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wondered why there is a &#8220;test&#8221; database in the list of tables when you install MySQL.</p>
<p>This is to allow users to practice MySQL commands or execute complex queries on the database. </p>
<p>&#8220;test&#8221; database is accessible to everyone who has access to MySQL in your localhost and hence is not advisable if you were to use it for your development.<span id="more-480"></span></p>
<p>Instead, create a database with specific user privileges if you have user rights or request your administrator to create one for you.</p>
<p>A simple MySQL statement to create a user with all privileges to the database.</p>
<p>$ grant all on newdb.* to &#8216;newdbuser&#8217;@localhost identified by &#8216;newdbuser_password&#8217;;</p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/07/mysql-test-database.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring CakePHP in localhost</title>
		<link>http://kurinchilamp.kurinchilion.com/2009/07/configuring-cakephp-in-localhost.html</link>
		<comments>http://kurinchilamp.kurinchilion.com/2009/07/configuring-cakephp-in-localhost.html#comments</comments>
		<pubDate>Sun, 05 Jul 2009 23:57:10 +0000</pubDate>
		<dc:creator>kurinchilamp</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cakePHP]]></category>

		<guid isPermaLink="false">http://kurinchilamp.kurinchilion.com/?p=483</guid>
		<description><![CDATA[Quick and easy steps Grab a copy of cakePHP from cakephp.org website You can either create the new cakephp website in the root (http://localhost/) or by adding it as a subfolder (http://localhost/mycakesite/) If you create it as a subfolder, then configure the appropriate path settings for linking images in the web pages. Open /app/config.php and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Quick and easy steps</strong></p>
<p>Grab a copy of cakePHP from <a href="http://cakephp.org/" target="_blank">cakephp.org</a> website</p>
<p>You can either create the new cakephp website in the root (http://localhost/) or by adding it as a subfolder (http://localhost/mycakesite/)</p>
<p>If you create it as a subfolder, then configure the appropriate path settings for linking images in the web pages.<br />
<span id="more-483"></span><br />
Open <strong>/app/config.php</strong> and make the following modifications<br />
- Modify the security salt value<br />
- to disable debug messages </p>
<p>Open <strong>/app/config/database.php.default </strong>and rename it to <strong>/app/config/database.php</strong>. If you wanted only one database, then make the necessary setting changes to default_database array by providing database name, host name, user name and password. And you can comment the variable declaration for the test database call if you it isn&#8217;t necessary. </p>
<p>The following steps may be of help to use if you are going to create MySQL database and configure a user with a password for that database:</p>
<p><strong>$ mysql -uroot -p</strong><br />
Enter the password.</p>
<p><strong>$ create database newdb;<br />
$ grant all on newdb.* to &#8216;newdbuser&#8217;@localhost identified by &#8216;newdbuser_password&#8217;;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://kurinchilamp.kurinchilion.com/2009/07/configuring-cakephp-in-localhost.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

