<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for idError</title>
	<atom:link href="http://iderror.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://iderror.com</link>
	<description>You have errors, we have solutions!</description>
	<lastBuildDate>Thu, 07 May 2009 00:45:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Error: 1255 &#8211; SQLSTATE: HY000 ER_SLAVE_WAS_NOT_RUNNING by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1255-sqlstate-hy000-er_slave_was_not_running/comment-page-1/#comment-22468</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7702#comment-22468</guid>
		<description>There are cases when slave threads have successfully started and then later stop, because of inability to connect to the master or read binary logs, etc. In such cases, you will not be given a warning that it has stopped. You may add an UNTIL clause to specify that the slave should start and run until the SQL thread
reaches a given point.</description>
		<content:encoded><![CDATA[<p>There are cases when slave threads have successfully started and then later stop, because of inability to connect to the master or read binary logs, etc. In such cases, you will not be given a warning that it has stopped. You may add an UNTIL clause to specify that the slave should start and run until the SQL thread<br />
reaches a given point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1253 &#8211; SQLSTATE: 42000 ER_COLLATION_CHARSET_MISMATCH by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1253-sqlstate-42000-er_collation_charset_mismatch/comment-page-1/#comment-22467</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7700#comment-22467</guid>
		<description>This error occurs when you try to use a collation that is not supported for a particular character set. Each character set defines it own collations. Example as follows:
COLLATION &#039;utf8_bin&#039; is not valid for CHARACTER SET &#039;binary&#039;
Collation &#039;utf8_bin&#039; is available for character set &#039;utf8&#039; and not for &#039;binary&#039;.
Check your database, table and column DDL for setting the CHARSET. Note that it can be set on the database level, the table level and the
column level.</description>
		<content:encoded><![CDATA[<p>This error occurs when you try to use a collation that is not supported for a particular character set. Each character set defines it own collations. Example as follows:<br />
COLLATION &#8216;utf8_bin&#8217; is not valid for CHARACTER SET &#8216;binary&#8217;<br />
Collation &#8216;utf8_bin&#8217; is available for character set &#8216;utf8&#8242; and not for &#8216;binary&#8217;.<br />
Check your database, table and column DDL for setting the CHARSET. Note that it can be set on the database level, the table level and the<br />
column level.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1252 &#8211; SQLSTATE: 42000 ER_SPATIAL_CANT_HAVE_NULL by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1252-sqlstate-42000-er_spatial_cant_have_null/comment-page-1/#comment-22466</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7699#comment-22466</guid>
		<description>Spatial indexes are created using SPATIAL INDEX statement and are available only for MyISAM tables. Index columns must be NOT NULL and column prefix lenghts are not allowed (in MySQL 5.1). See Spatial Extensions for details at http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html.</description>
		<content:encoded><![CDATA[<p>Spatial indexes are created using SPATIAL INDEX statement and are available only for MyISAM tables. Index columns must be NOT NULL and column prefix lenghts are not allowed (in MySQL 5.1). See Spatial Extensions for details at <a href="http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/spatial-extensions.html</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1248 &#8211; SQLSTATE: 42000 ER_DERIVED_MUST_HAVE_ALIAS by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1248-sqlstate-42000-er_derived_must_have_alias/comment-page-1/#comment-22465</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7695#comment-22465</guid>
		<description>Add an alias for each derived table and make sure that you add the alias just after the FROM clause, outside the parentheses () and make sure to use JOIN condition as necessary.</description>
		<content:encoded><![CDATA[<p>Add an alias for each derived table and make sure that you add the alias just after the FROM clause, outside the parentheses () and make sure to use JOIN condition as necessary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1243 &#8211; SQLSTATE: HY000 ER_UNKNOWN_STMT_HANDLER by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1243-sqlstate-hy000-er_unknown_stmt_handler/comment-page-1/#comment-22464</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7690#comment-22464</guid>
		<description>The following are some instances of this error:
Unknown prepared statement handler (prepared_stmt) given to DEALLOCATE
Unknown prepared statement handler (prepared_stmt) given to EXECUTE 
Prepared statements are local to the session. MySQL automatically deallocates these statements when the session is closed. For a detailed workaround, follow these steps:
1. Open a database connection
2. Run the PREPARE statement
3. Set the values of the variable and EXECUTE the query
5. DEALLOCATE the prepared statement
6. Close the database connection</description>
		<content:encoded><![CDATA[<p>The following are some instances of this error:<br />
Unknown prepared statement handler (prepared_stmt) given to DEALLOCATE<br />
Unknown prepared statement handler (prepared_stmt) given to EXECUTE<br />
Prepared statements are local to the session. MySQL automatically deallocates these statements when the session is closed. For a detailed workaround, follow these steps:<br />
1. Open a database connection<br />
2. Run the PREPARE statement<br />
3. Set the values of the variable and EXECUTE the query<br />
5. DEALLOCATE the prepared statement<br />
6. Close the database connection</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1242 &#8211; SQLSTATE: 21000 ER_SUBQUERY_NO_1_ROW by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1242-sqlstate-21000-er_subquery_no_1_row/comment-page-1/#comment-22463</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7689#comment-22463</guid>
		<description>This error occurs for statements having a subquery. Check this example:
SELECT * FROM table1 WHERE column1 = (SELECT column1 FROM table2);
If the subquery in the abover statement returns more than 1 row, an error will be triggered. To fix, you may rewrite the query as follows:
SELECT * FROM table1 WHERE column1 = ANY (SELECT column1 FROM table2);</description>
		<content:encoded><![CDATA[<p>This error occurs for statements having a subquery. Check this example:<br />
SELECT * FROM table1 WHERE column1 = (SELECT column1 FROM table2);<br />
If the subquery in the abover statement returns more than 1 row, an error will be triggered. To fix, you may rewrite the query as follows:<br />
SELECT * FROM table1 WHERE column1 = ANY (SELECT column1 FROM table2);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1241 &#8211; SQLSTATE: 21000 ER_OPERAND_COLUMNS by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1241-sqlstate-21000-er_operand_columns/comment-page-1/#comment-22462</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7688#comment-22462</guid>
		<description>This error can occur when there is issue with your table structure. Check the following:
a. Make sure that when you use IN, your subquery contains only 1 field
b. If you are using LIMIT in the subquery, check if it is allowed in the version of MySQL that you use
c. Use AND instead of COMMAS in your WHERE condition</description>
		<content:encoded><![CDATA[<p>This error can occur when there is issue with your table structure. Check the following:<br />
a. Make sure that when you use IN, your subquery contains only 1 field<br />
b. If you are using LIMIT in the subquery, check if it is allowed in the version of MySQL that you use<br />
c. Use AND instead of COMMAS in your WHERE condition</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1232 &#8211; SQLSTATE: 42000 ER_WRONG_TYPE_FOR_VAR by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1232-sqlstate-42000-er_wrong_type_for_var/comment-page-1/#comment-22461</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7679#comment-22461</guid>
		<description>An example of this error is when you try to specify the following argument in my.cnf:
max_allowed_packet=16M
Since max_allowed_packet is a numeric dynamic variable which can only take a numeric value and 16M is not a numeric value in SQL context, it resulted to error.
You may check a list of dynamic system variables and their types at http://dev.mysql.com/doc/refman/5.0/en/dynamic-system-variables.html.</description>
		<content:encoded><![CDATA[<p>An example of this error is when you try to specify the following argument in my.cnf:<br />
max_allowed_packet=16M<br />
Since max_allowed_packet is a numeric dynamic variable which can only take a numeric value and 16M is not a numeric value in SQL context, it resulted to error.<br />
You may check a list of dynamic system variables and their types at <a href="http://dev.mysql.com/doc/refman/5.0/en/dynamic-system-variables.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/dynamic-system-variables.html</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1229 &#8211; SQLSTATE: HY000 ER_GLOBAL_VARIABLE by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1229-sqlstate-hy000-er_global_variable/comment-page-1/#comment-22460</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7676#comment-22460</guid>
		<description>MySQL produces this error when GLOBAL (or @@global) is not specified when setting a global variable. To fix, precede the global variable&#039;s name by GLOBAL or @@global.</description>
		<content:encoded><![CDATA[<p>MySQL produces this error when GLOBAL (or @@global) is not specified when setting a global variable. To fix, precede the global variable&#8217;s name by GLOBAL or @@global.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error: 1228 &#8211; SQLSTATE: HY000 ER_LOCAL_VARIABLE by admin</title>
		<link>http://iderror.com/errors/mysql/mysql-server/error-1228-sqlstate-hy000-er_local_variable/comment-page-1/#comment-22459</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 May 2009 00:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/idError/?p=7675#comment-22459</guid>
		<description>MySQL produces this error when SET GLOBAL is used with a session variable that can only be used with SET SESSION. To be able to set a SESSION variable to the GLOBAL value, use the DEFAULT keyword. The following is the statement that can be used to the set the session value of max_join_size to the global value:
SET max_join_size=DEFAULT;
Just note that not all system variables can be set to DEFAULT.</description>
		<content:encoded><![CDATA[<p>MySQL produces this error when SET GLOBAL is used with a session variable that can only be used with SET SESSION. To be able to set a SESSION variable to the GLOBAL value, use the DEFAULT keyword. The following is the statement that can be used to the set the session value of max_join_size to the global value:<br />
SET max_join_size=DEFAULT;<br />
Just note that not all system variables can be set to DEFAULT.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.686 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-10 15:22:42 -->
<!-- Compression = gzip -->