<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Knowledge Base</title>
        <description>Forum for Knowledge Base</description>
        <link>http://forums.mysql.com/list.php?143</link>
        <lastBuildDate>Tue, 24 Nov 2009 20:27:50 +0000</lastBuildDate>
        <generator>Phorum 5.2.1-alpha</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?143,291447,291447#msg-291447</guid>
            <title>complex update statement (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,291447,291447#msg-291447</link>
            <description><![CDATA[ I want to update this table based on a rather complex logic in terms of what UPDATE can handle - as far as I know...<br />
<br />
The table (&quot;example&quot;) design:<br /><pre class="bbcode">
id         MEDIUMINT UNSIGNED
user_id    MEDIUMINT UNSIGNED
isarchived TINYINT   UNSIGNED
more_data_cols...</pre>
<br />
1) i set them ALL to isarchived = 1<br />
<br />
2) per DISTINCT user_id, i want ONLY 1 row to be isarchived = 0.<br />
how do I go about doing that?<br />
<br />
Thanks so much!]]></description>
            <dc:creator>Chris Reimann</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Mon, 16 Nov 2009 19:31:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,291030,291030#msg-291030</guid>
            <title>Mysql suddendly very slow (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,291030,291030#msg-291030</link>
            <description><![CDATA[ Site just died yesterday and started taking forever to complete the simplest queries, mostly slow when doing mysql update, removed loads of indexes from 1 table which uses a few for a stats page<br />
<br />
And in error log i get this<br />
&quot;091113 04:45:56  mysqld ended<br />
<br />
091113 04:45:57  mysqld started<br />
091113  4:45:57 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
091113  4:45:57 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
/usr/libexec/mysqld: File '/var/log/mysql/slow_queries.log' not found (Errcode: 2)<br />
091113  4:45:57 [ERROR] Could not use /var/log/mysql/slow_queries.log for logging (error 2). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.<br />
091113  4:45:57  InnoDB: Started; log sequence number 2 952290533<br />
091113  4:45:57 [Note] /usr/libexec/mysqld: ready for connections.<br />
Version: '5.0.77-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution<br />
091113  4:51:07 [Note] /usr/libexec/mysqld: Normal shutdown<br />
<br />
091113  4:51:07  InnoDB: Starting shutdown...<br />
091113  4:52:09  InnoDB: Shutdown completed; log sequence number 2 1294714176<br />
091113  4:52:09 [Note] /usr/libexec/mysqld: Shutdown complete<br />
<br />
091113 04:52:09  mysqld ended<br />
<br />
091113 04:56:03  mysqld started<br />
091113  4:56:03 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
091113  4:56:03 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
/usr/libexec/mysqld: File '/var/log/mysql/slow_queries.log' not found (Errcode: 2)<br />
091113  4:56:03 [ERROR] Could not use /var/log/mysql/slow_queries.log for logging (error 2). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.<br />
091113  4:56:03  InnoDB: Started; log sequence number 2 1294714176<br />
091113  4:56:03 [Note] /usr/libexec/mysqld: ready for connections.<br />
Version: '5.0.77-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution<br />
091113  9:18:27 [Note] /usr/libexec/mysqld: Normal shutdown<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 732  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 731  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 729  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 728  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 727  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 725  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 723  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 722  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 721  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 720  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 718  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 717  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 714  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 712  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 711  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 708  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 705  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 696  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 693  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 692  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 691  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 689  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 688  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 687  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 686  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 680  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 679  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 674  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 670  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 666  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 564  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 431  user: 'root'<br />
<br />
091113  9:18:29 [Warning] /usr/libexec/mysqld: Forcing close of thread 120  user: 'root'<br />
<br />
091113  9:18:32  InnoDB: Starting shutdown...<br />
091113  9:18:33  InnoDB: Shutdown completed; log sequence number 2 1295163982<br />
091113  9:18:33 [Note] /usr/libexec/mysqld: Shutdown complete<br />
<br />
091113 09:18:33  mysqld ended<br />
<br />
091113 09:18:34  mysqld started<br />
091113  9:18:34 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
091113  9:18:34 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
/usr/libexec/mysqld: File '/var/log/mysql/slow_queries.log' not found (Errcode: 2)<br />
091113  9:18:34 [ERROR] Could not use /var/log/mysql/slow_queries.log for logging (error 2). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.<br />
091113  9:18:34  InnoDB: Started; log sequence number 2 1295163982<br />
091113  9:18:34 [Note] /usr/libexec/mysqld: ready for connections.<br />
Version: '5.0.77-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution<br />
091113  9:26:35 [Note] /usr/libexec/mysqld: Normal shutdown<br />
<br />
091113  9:26:36 [ERROR] /usr/libexec/mysqld: Sort aborted<br />
091113  9:26:37  InnoDB: Starting shutdown...<br />
091113  9:26:39  InnoDB: Shutdown completed; log sequence number 2 1305712595<br />
091113  9:26:39 [Note] /usr/libexec/mysqld: Shutdown complete<br />
<br />
091113 09:26:39  mysqld ended<br />
<br />
091113 09:26:39  mysqld started<br />
091113  9:26:39 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
091113  9:26:39 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295<br />
/usr/libexec/mysqld: File '/var/log/mysql/slow_queries.log' not found (Errcode: 2)<br />
091113  9:26:39 [ERROR] Could not use /var/log/mysql/slow_queries.log for logging (error 2). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.<br />
091113  9:26:40  InnoDB: Started; log sequence number 2 1305712595<br />
091113  9:26:40 [Note] /usr/libexec/mysqld: ready for connections.<br />
Version: '5.0.77-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution<br />
&quot;<br />
<br />
<br />
If i restart mysql it loads normally for about 2 minutes then goes very slow again, nothing has been changed, no new pages or code has been added<br />
<br />
Thanks]]></description>
            <dc:creator>Peter Fedeux</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 13 Nov 2009 09:43:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,290254,290254#msg-290254</guid>
            <title>load data local infile (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,290254,290254#msg-290254</link>
            <description><![CDATA[ Hallo everyone.<br />
I want to add the pet.txt into my MySql table. But it failed.Could someone explain why? Thank you.<br />
<br />
pet.txt<br />
snoppy      thomas       spec2    m    2008-01-02    NULL<br />
<br />
<br />
load data local infile'C:/Users/bing/Documents/book/mysql_5_1/pet.txt'<br />
<br />
All the columns screez into one column, which I dont want.]]></description>
            <dc:creator>bing li</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 20 Nov 2009 12:26:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,290014,290014#msg-290014</guid>
            <title>import images into blob (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,290014,290014#msg-290014</link>
            <description><![CDATA[ Hello everybody,<br />
<br />
first of all I do not want to discuss the pros and cons of the two approaches to store images (Either on filesystem or in the database)<br />
<br />
Until now i store my images on the filesystem and only have the path to the image stored in the Database.<br />
<br />
For some reasons i decided to give the other approach a try and directly store images in the database in a BLOB.<br />
<br />
However, i already have images stored on my filesystem which should not get lost.<br />
<br />
So, i'm looking for a method to convert the storing of images from approach A to approach B. e.g. filling my new BLOB column automaticly with the images, which are stored on the filesystem.<br />
<br />
It would be realy great if this would be possible with an SQL-Script. Any ideas?<br />
<br />
Thanks in advance<br />
Peter]]></description>
            <dc:creator>Peter M.</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 20 Nov 2009 12:21:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,289894,289894#msg-289894</guid>
            <title>Help me Please. How is Converted to MySQL Date Format : d/m/y -&amp;gt; 06/11/2009 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,289894,289894#msg-289894</link>
            <description><![CDATA[ Help me Please. How is Converted to MySQL Date Format : d/m/y -&gt; 06/11/2009<br />
<br />
ABD Date Format : 2009-11-06 &lt;- Convert -&gt; Turkey Date Format : 06/11/2009<br />
<br />
I'm sorry, I do not know good English.:)<br />
<br />
Help is now thank you.]]></description>
            <dc:creator>Yadigar Onur FIÇICI</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 10 Nov 2009 13:21:17 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,289233,289233#msg-289233</guid>
            <title>Mixing Japanese and Latin characters (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,289233,289233#msg-289233</link>
            <description><![CDATA[ Hi.<br />
<br />
One of my clients asked me to include a fourth language (in addition to EN, FR and NL) in his website: Japanese.<br />
The website is developed with php and uses data from mySql tables.<br />
<br />
I have no problems doing this in html, but when it comes to using data from mySQL tables all I get is gibberish.<br />
<br />
Could you please let me know:<br />
1. How I should create my database so that some fields can contain Japanese text<br />
2. How I should create my php so that Japanese and latin characters display properly.<br />
<br />
Thanks too all of you who can give me some concrete help on this issue.<br />
<br />
jim Anderson]]></description>
            <dc:creator>Jim ANDERSON</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 03 Nov 2009 09:06:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,288584,288584#msg-288584</guid>
            <title>Mysql.com Estimated Worth $1.1 Million USD (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,288584,288584#msg-288584</link>
            <description><![CDATA[ Mysql.com Estimated Worth $1.1 Million USD<br />
<br />
<br />
<br />
Description 	The software's official homepage with news, downloads and documentation.<br />
Daily Pageview 	1,038,716<br />
Daily Ads Revenue 	$1,529.77<br />
Traffic Rank 	1059(Alexa World Rank)<br />
Page Rank 	(Goolge Page Rank) <br />
<br />
<br />
check it out here <a rel="nofollow"  href="http://thenetinfo.com/stats/mysql.com">http://thenetinfo.com/stats/mysql.com</a>]]></description>
            <dc:creator>pritam sh</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Thu, 29 Oct 2009 19:58:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,288155,288155#msg-288155</guid>
            <title>error # 134 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,288155,288155#msg-288155</link>
            <description><![CDATA[ Hi Guys, <br />
i have an error taht miss up everything using mysql in my server, including websites of course. <br />
here is the thing: the error start with a table as it says here in the logs: <br />
<br />
091023 12:45:40 [ERROR] Got error 134 when reading table './otrs/user_preferences' <br />
091023 12:46:02 [ERROR] Got error 134 when reading table './otrs/user_preferences' <br />
091023 12:46:11 [ERROR] Got error 134 when reading table './otrs/user_preferences' <br />
091023 12:46:17 [ERROR] Got error 134 when reading table './otrs/user_preferences' <br />
091023 12:46:23 [ERROR] Got error 134 when reading table './otrs/user_preferences' <br />
091023 14:26:06 [Note] /usr/sbin/mysqld: Normal shutdown <br />
<br />
091023 14:26:08 InnoDB: Starting shutdown... <br />
091023 14:26:12 InnoDB: Shutdown completed; log sequence number 1 3966143693 <br />
091023 14:26:12 [Note] /usr/sbin/mysqld: Shutdown complete <br />
<br />
091023 14:26:12 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=/var/run/mysqld/mysqld-bin' to avoid this problem. <br />
091023 14:26:13 InnoDB: Started; log sequence number 1 3966143693 <br />
091023 14:26:13 [Note] /usr/sbin/mysqld: ready for connections. <br />
Version: '5.0.44-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Gentoo Linux mysql-5.0.44-r2 <br />
<br />
this error make that when you connect to website it says &quot;mysql cannot connect to database&quot;, so i restared the mysql and i get the warning below it stays normal for few hours like 6 hours and the cycle get launched again. <br />
any idea that can get ma out of the cycle please!!?]]></description>
            <dc:creator>khalid touati</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 03 Nov 2009 00:19:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,287766,287766#msg-287766</guid>
            <title>Problem with creating a statement based on variables (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,287766,287766#msg-287766</link>
            <description><![CDATA[ I want to insert a string (YYYY-MM) in a table. The field is of type CHAR. The value in the INSERT-string is based on variables. <br />
<br />
CREATE PROCEDURE `Test`.`TestPart2`(dteFromdat DATE)<br />
.....<br />
#Create the YearMonth variable<br />
IF MONTH(dteFromDat)&lt;10 THEN<br />
 	SET txtYearMonth=CONCAT(YEAR(dteFromDat), '-0', MONTH(dteFromDat));<br />
ELSE<br />
 	SET txtYearMonth=CONCAT(YEAR(dteFromDat), '-', MONTH(dteFromDat));<br />
END IF;<br />
<br />
#Create the statement<br />
SET @QUERY = CONCAT('INSERT INTO tblKorrlogg SET KorrDate=CURDATE(), YearMonth=', txtYearMonth);<br />
PREPARE stmt FROM @QUERY; <br />
EXECUTE stmt; <br />
DEALLOCATE PREPARE stmt;<br />
.......<br />
<br />
The statement seem now to looks like this &quot;INSERT INTO tblKorrlogg SET KorrDate=CURDATE(), YearMonth=2009-05&quot;<br />
<br />
My problem is how ho add the apostrophes round 2009-05 so it looks like '2009-05' and MySQL will recognize the value as a string.<br />
<br />
<br />
/Hans Karlsson]]></description>
            <dc:creator>Hans Karlsson</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Sat, 24 Oct 2009 14:42:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,287143,287143#msg-287143</guid>
            <title>What would be the best query (2 replies)</title>
            <link>http://forums.mysql.com/read.php?143,287143,287143#msg-287143</link>
            <description><![CDATA[ To check whether the box_id &quot;2&quot; has ANY records, that have ANY records with the same box_val as box_id &quot;1&quot;<br />
<br />
Using only one query, rather than looping through all records where box_id = 2 then checking for match<br />
<br />
<br />
<br />
box_id |	box_val<br />
________________________<br />
1 |	25<br />
1 |	74<br />
1 |	54<br />
2 |	25<br />
2 |	35<br />
<br />
<br />
<br />
Thanks!]]></description>
            <dc:creator>Peter Fedeux</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Wed, 28 Oct 2009 12:07:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,286882,286882#msg-286882</guid>
            <title>question about join query (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,286882,286882#msg-286882</link>
            <description><![CDATA[ i'm trying to compile data from 2 different tables for a report. this code:<br />
<br />
$result4 = mysql_query(&quot;select reportequipment.id, equipment.name,reportequipment.qty from reportequipment LEFT JOIN equipment<br />
ON reportequipment.id = equipment.id where webid='$myid'&quot;)or die(mysql_error());<br />
<br />
<br />
$i = 0;<br />
while ( $row = mysql_fetch_array($result4) )<br />
$i++;<br />
<br />
<br />
returns the row reportequipment.id, but equipment.name is blank.<br />
<br />
my results are:<br />
<br />
id# name qty<br />
1 (blank) 3<br />
<br />
i need :<br />
<br />
id# name qty<br />
1 vest 3<br />
<br />
<br />
thanks for taking the time to assist.]]></description>
            <dc:creator>sherri guthrie</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Mon, 19 Oct 2009 21:33:02 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,285813,285813#msg-285813</guid>
            <title>Table Walk using parent/child foreign keys (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,285813,285813#msg-285813</link>
            <description><![CDATA[ Hi<br />
<br />
We are using version 5.0.81 of MySQL database and need to do a tale walk using parent/child keys.<br />
<br />
We have a table: inventory_categories<br />
<br />
INVENTORY_CATEGORY_ID  	        int(15)  <br />
PARENT_INVENTORY_CATEGORY_ID 	int(15) <br />
INVENTORY_CATEGORY_NAME 	varchar(30) <br />
INVENTORY_CATEGORY_DESCRIPTION 	varchar(80) <br />
INVENTORY_CATEGORY_TYPE_ID 	int(15) <br />
INVENTORY_CATEGORY_ORDER 	int(10) <br />
GRAPHICS_FILE_NAME 	        varchar(80) <br />
DELETED_INDICATOR 	        char(1) <br />
CREATED_BY 	                int(15) <br />
CREATION_DATE 	                datetime <br />
LAST_UPDATED_BY 	        int(15) <br />
LAST_UPDATE_DATE 	        datetime <br />
<br />
Where each category can have one or more sub-catgories and each sub-catgory can have one or more sub-categories, etc.<br />
<br />
We need a quick way to traverse the tables to find all sub-categories (inventory_category_id) for a given inventory_category_id.<br />
<br />
We are using JSP with embedded SQL. We obviously would like to accomplish as much of this within the query itself.<br />
<br />
Thanks in advance for your help!<br />
<br />
Jack]]></description>
            <dc:creator>Jack Baker</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Wed, 21 Oct 2009 17:42:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,285514,285514#msg-285514</guid>
            <title>MySQL For large number of files (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,285514,285514#msg-285514</link>
            <description><![CDATA[ Hi all, <br />
<br />
I need to efficiently handle a large number of files (upto 1TB in total). The data in question is a large collection of patent documents. Each patent document has sections like name of the person, topic, claim, background etc. I want to be able to store all this information within the database (each section in a separate column, for example). The data will be inserted only one time and I do not need to modify it once it is done. I will only need to be able to issue specific queries across different sections of the documents. For example: give me all documents filed by &quot;person X&quot; that are on &quot;topic Y&quot;. <br />
<br />
Would MySQL be appropriate for this?<br />
<br />
Thanks in advance.]]></description>
            <dc:creator>List Andy</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Thu, 15 Oct 2009 22:17:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,284809,284809#msg-284809</guid>
            <title>Connectivity issue (3 replies)</title>
            <link>http://forums.mysql.com/read.php?143,284809,284809#msg-284809</link>
            <description><![CDATA[ Hi,<br />
  I am getting an error message while I am trying to connect to one mysql server hosted on a unix box.<br />
<br />
&quot;Lost connection to MYSQL Server during query.&quot;<br />
<br />
Can anyone help me with this?<br />
<br />
Regards,<br />
Praveen.]]></description>
            <dc:creator>praveen chaduvula</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 09 Oct 2009 05:42:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,284497,284497#msg-284497</guid>
            <title>Constraint help (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,284497,284497#msg-284497</link>
            <description><![CDATA[ Hey there,<br />
<br />
I have a user_id and primary_ind column.  I would like as many of the same user id's to be able to be inserted into the table, but only one of them would be allowed to have a 'Y' as the primary ind.  Can someone help me with that constraint script?<br />
<br />
Thanks,<br />
<br />
T.J.]]></description>
            <dc:creator>T.J. Eakle</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Mon, 05 Oct 2009 23:16:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,284448,284448#msg-284448</guid>
            <title>insert problem with not null columns (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,284448,284448#msg-284448</link>
            <description><![CDATA[ Dear Friends;<br />
<br />
I am new to mysql, and I created a table named &quot;test&quot;, with 3 columns (id&quot;PK&quot;, firstName, lastName), all of them not null.<br />
<br />
the problem comes when I execute the following sql statement;<br />
<br />
INSERT INTO test (id,firstName) VALUES (4,'steven');<br />
<br />
the record will be accepted, and there is no value in the column &quot;lastName&quot;, even I put that as not null. How can the mySQL can accept this query, what is the value that inserted into &quot;lastName&quot; columns ??<br />
<br />
regards<br />
Mazen Elsayed]]></description>
            <dc:creator>Mazen Elsayed</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 06 Oct 2009 08:58:52 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,283816,283816#msg-283816</guid>
            <title>Similar to search involving multiple tables (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,283816,283816#msg-283816</link>
            <description><![CDATA[ Im trying to create a search function that will return all rows that are similar to the search constraints, but I would like the search constraint to be matched will multiple columns. (ie. If the user submitted the search &quot;Acid C-Note&quot; it would query the brand, cigarName, etc. columns of the cigar table returning any rows that in some way match the seach.)]]></description>
            <dc:creator>Brook Julias II</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 29 Sep 2009 14:43:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,283244,283244#msg-283244</guid>
            <title>Threads_running always 1 (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,283244,283244#msg-283244</link>
            <description><![CDATA[ Hi,<br />
<br />
I applied a high load to mysql, both 'show status' and ps always showed 1 thread running. I am wondering if the issue has been discussed somewhere and a corresponding bug has been filed, and/or also if I have misconfigured mysql in any ways.<br />
'show innodb status' showed transactions &quot;not started&quot; with different thread ids.<br />
<br />
Suggestions/pointers are appreciated.<br />
<br />
Here are my testing environment, and the results of the aforementioned commands:<br />
<br />
[root@perf14 pt]# uname -a<br />
Linux xxx.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux<br />
<br />
[root@perf14 pt]# /usr/libexec/mysqld --version --help<br />
/usr/libexec/mysqld  Ver 5.0.84-log for redhat-linux-gnu on x86_64 (Source distribution)<br />
<br />
[root@perf14 pt]# rpm -qa | grep mysql<br />
mysql-5.0.84-2.el5s2<br />
mysql-libs-5.0.84-2.el5s2<br />
php-mysql-5.2.9-2.el5s2<br />
mysql-jdbc-5.0.8-1jpp.1.el5s2<br />
mysql-libs-5.0.84-2.el5s2<br />
mysql-connector-odbc-3.51.27r695-1.el5s2<br />
mysqlclient14-4.1.22-1.el5s2<br />
mysql-5.0.84-2.el5s2<br />
mod_auth_mysql-3.0.0-3.2.el5_3<br />
mysql-server-5.0.84-2.el5s2<br />
<br />
[root@perf14 calMode_200i_2min_withstatus.1]# cat my.cnf<br />
[mysqld]<br />
datadir=/home/mysql/data<br />
user=mysql<br />
old_passwords=1<br />
socket=/var/lib/mysql/mysql.sock<br />
innodb_data_home_dir=/home/mysql/innodb_data<br />
innodb_data_file_path = ibdata1:2000M:autoextend<br />
innodb_log_group_home_dir=/home/mysql/logs<br />
innodb_additional_mem_pool_size=32M<br />
#innodb_flush_log_at_trx_commit=120000<br />
innodb_flush_log_at_trx_commit=0<br />
max_connections=256<br />
table_cache=4096<br />
thread_cache=16<br />
thread_cache_size=16<br />
innodb_file_per_table = true<br />
<br />
log-slow-queries=/tmp/mysql-slow.log<br />
log-long-format<br />
long_query_time = 6<br />
<br />
# Set the Innodb buffer pool size to n GB<br />
# = this value is in bytes (80% of total memory)<br />
innodb-buffer-pool-size = 16G<br />
# Turn off the check-sum of pages read from disk<br />
innodb-checksums = false<br />
# Let any number of threads commit concurrently<br />
#innodb-commit-concurrency = 0<br />
innodb-commit-concurrency = 8<br />
# Turn off the double write function<br />
innodb-doublewrite = false<br />
# Use direct io<br />
innodb-flush-method = O_DIRECT<br />
#innodb-flush-method = O_DSYNC - TBT<br />
# Use a large buffer for the transaction log (you may want to go over 8M, and go even larger)<br />
innodb-log-buffer-size = 16M<br />
#innodb-log-buffer-size = 1G<br />
#innodb-log-buffer-size = 64M<br />
# Set the log file size to one half the buffer pool above<br />
innodb-log-file-size = 1G<br />
#innodb_log_buffer_size = 8M -TBT alap<br />
#innodb_log_file_size = 128M - TBT alap<br />
<br />
#key_buffer = 1000M<br />
<br />
# Turn off XA support as its not needed in this test<br />
innodb-support-xa = false<br />
# Set the number of concurrent threads to unlimited<br />
innodb-thread-concurrency = 8<br />
# Turn on large page memory support<br />
large-pages = true<br />
[mysqld_safe]<br />
log-error=/var/log/mysqld.log<br />
pid-file=/var/run/mysqld/mysqld.pid<br />
<br />
| <br />
=====================================<br />
090925  9:12:14 INNODB MONITOR OUTPUT<br />
=====================================<br />
Per second averages calculated from the last 53 seconds<br />
----------<br />
SEMAPHORES<br />
----------<br />
OS WAIT ARRAY INFO: reservation count 3273, signal count 2226<br />
Mutex spin waits 0, rounds 152068, OS waits 1940<br />
RW-shared spins 2419, OS waits 1003; RW-excl spins 495, OS waits 166<br />
------------<br />
TRANSACTIONS<br />
------------<br />
Trx id counter 0 28368021<br />
Purge done for trx's n:o &lt; 0 28141830 undo n:o &lt; 0 0<br />
History list length 7<br />
Total number of lock structs in row lock hash table 0<br />
LIST OF TRANSACTIONS FOR EACH SESSION:<br />
---TRANSACTION 0 28367857, not started, process no 10262, OS thread id 118960364<br />
8<br />
MySQL thread id 55, query id 2862347 perf12.lab.bos.redhat.com 192.168.1.12 ejb3<br />
---TRANSACTION 0 28367855, not started, process no 10262, OS thread id 118933740<br />
MySQL thread id 54, query id 2862405 perf12.lab.bos.redhat.com 192.168.1.12 ejb3<br />
---TRANSACTION 0 28367821, not started, process no 10262, OS thread id 118800620<br />
8<br />
MySQL thread id 49, query id 2862425 perf12.lab.bos.redhat.com 192.168.1.12 ejb3<br />
---TRANSACTION 0 28367819, not started, process no 10262, OS thread id 118507756<br />
8<br />
MySQL thread id 38, query id 2862179 perf12.lab.bos.redhat.com 192.168.1.12 ejb3<br />
---TRANSACTION 0 28366479, not started, process no 10262, OS thread id 118534380<br />
8<br />
MySQL thread id 39, query id 2846595 perf12.lab.bos.redhat.com 192.168.1.12 ejb3<br />
---TRANSACTION 0 28367838, not started, process no 10262, OS thread id 118827244<br />
8<br />
<br />
There are more &quot;not started&quot; threads, but I cut them out<br />
<br />
--------<br />
FILE I/O<br />
--------<br />
I/O thread 0 state: waiting for i/o request (insert buffer thread)<br />
I/O thread 1 state: waiting for i/o request (log thread)<br />
I/O thread 2 state: waiting for i/o request (read thread)<br />
I/O thread 3 state: waiting for i/o request (write thread)<br />
Pending normal aio reads: 0, aio writes: 0,<br />
 ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0<br />
Pending flushes (fsync) log: 0; buffer pool: 0<br />
200 OS file reads, 4278 OS file writes, 2917 OS fsyncs<br />
0.00 reads/s, 0 avg bytes/read, 2.89 writes/s, 2.26 fsyncs/s<br />
-------------------------------------<br />
INSERT BUFFER AND ADAPTIVE HASH INDEX<br />
-------------------------------------<br />
Ibuf: size 1, free list len 0, seg size 2,<br />
0 inserts, 0 merged recs, 0 merges<br />
Hash table size 35401603, used cells 1948522, node heap has 2957 buffer(s)<br />
3758.02 hash searches/s, 4329.20 non-hash searches/s<br />
---<br />
LOG<br />
---<br />
Log sequence number 7 1985380255<br />
Log flushed up to   7 1985344379<br />
Last checkpoint at  7 1983716162<br />
0 pending log writes, 0 pending chkp writes<br />
1824 log i/o's done, 2.06 log i/o's/second<br />
----------------------<br />
BUFFER POOL AND MEMORY<br />
----------------------<br />
Total memory allocated 1886459797; in additional pool allocated 12493312<br />
Buffer pool size   1048576<br />
Free buffers       994542<br />
Database pages     51077<br />
Modified db pages  299<br />
Pending reads 0<br />
Pending writes: LRU 0, flush list 0, single page 0<br />
Pages read 204, created 50983, written 53735<br />
0.00 reads/s, 3.06 creates/s, 11.23 writes/s<br />
Buffer pool hit rate 1000 / 1000<br />
--------------<br />
ROW OPERATIONS<br />
--------------<br />
0 queries inside InnoDB, 0 queries in queue<br />
1 read views open inside InnoDB<br />
Main thread process no. 10262, id 1177622848, state: sleeping<br />
Number of rows inserted 8906466, updated 1, deleted 0, read 1364493<br />
341.14 inserts/s, 0.00 updates/s, 0.00 deletes/s, 4139.60 reads/s<br />
----------------------------<br />
END OF INNODB MONITOR OUTPUT<br />
============================<br />
 | <br />
1 row in set, 1 warning (0.10 sec)<br />
<br />
mysql&gt; <br />
mysql&gt; show status;<br />
+-----------------------------------+------------+<br />
| Variable_name                     | Value      |<br />
--More--(45%)<br />
+-----------------------------------+------------+<br />
| Aborted_clients                   | 0          | <br />
| Aborted_connects                  | 0          | <br />
| Binlog_cache_disk_use             | 0          | <br />
| Binlog_cache_use                  | 0          | <br />
| Bytes_received                    | 246        | <br />
| Bytes_sent                        | 35887      | <br />
| Com_admin_commands                | 0          | <br />
| Com_alter_db                      | 0          | <br />
| Com_alter_table                   | 0          | <br />
| Com_analyze                       | 0          | <br />
| Com_backup_table                  | 0          | <br />
| Com_begin                         | 0          | <br />
| Com_call_procedure                | 0          | <br />
| Com_change_db                     | 0          | <br />
| Com_change_master                 | 0          | <br />
| Com_check                         | 0          | <br />
| Com_checksum                      | 0          | <br />
| Com_commit                        | 0          | <br />
| Com_create_db                     | 0          | <br />
| Com_create_function               | 0          | <br />
| Com_create_index                  | 0          | <br />
| Com_create_table                  | 0          | <br />
--More--(50%)<br />
| Com_lock_tables                   | 0          | <br />
| Com_optimize                      | 0          | <br />
| Com_preload_keys                  | 0          | <br />
| Com_prepare_sql                   | 0          | <br />
| Com_purge                         | 0          | <br />
| Com_purge_before_date             | 0          | <br />
| Com_rename_table                  | 0          | <br />
| Com_repair                        | 0          | <br />
| Com_replace                       | 0          | <br />
| Com_replace_select                | 0          | <br />
| Com_reset                         | 0          | <br />
| Com_restore_table                 | 0          | <br />
| Com_revoke                        | 0          | <br />
| Com_revoke_all                    | 0          | <br />
| Com_rollback                      | 0          | <br />
| Com_savepoint                     | 0          | <br />
| Com_select                        | 1          | <br />
| Com_set_option                    | 0          | <br />
| Com_show_binlog_events            | 0          | <br />
| Com_show_binlogs                  | 0          | <br />
| Com_show_charsets                 | 0          | <br />
| Com_show_collations               | 0          | <br />
| Com_show_column_types             | 0          | <br />
--More--(60%)<br />
| Com_show_create_db                | 0          | <br />
| Com_show_create_table             | 0          | <br />
| Com_show_databases                | 0          | <br />
| Com_show_errors                   | 0          | <br />
| Com_show_fields                   | 0          | <br />
| Com_show_grants                   | 0          | <br />
| Com_show_innodb_status            | 3          | <br />
| Com_show_keys                     | 0          | <br />
| Com_show_logs                     | 0          | <br />
| Com_show_master_status            | 0          | <br />
| Com_show_ndb_status               | 0          | <br />
| Com_show_new_master               | 0          | <br />
| Com_show_open_tables              | 0          | <br />
| Com_show_privileges               | 0          | <br />
| Com_show_processlist              | 0          | <br />
| Com_show_slave_hosts              | 0          | <br />
| Com_show_slave_status             | 0          | <br />
| Com_show_status                   | 3          | <br />
| Com_show_storage_engines          | 2          | <br />
| Com_show_tables                   | 0          | <br />
| Com_show_triggers                 | 0          | <br />
| Com_show_variables                | 0          | <br />
| Com_show_warnings                 | 0          | <br />
--More--(65%)<br />
| Com_slave_start                   | 0          | <br />
| Com_slave_stop                    | 0          | <br />
| Com_stmt_close                    | 0          | <br />
| Com_stmt_execute                  | 0          | <br />
| Com_stmt_fetch                    | 0          | <br />
| Com_stmt_prepare                  | 0          | <br />
| Com_stmt_reset                    | 0          | <br />
| Com_stmt_send_long_data           | 0          | <br />
| Com_truncate                      | 0          | <br />
| Com_unlock_tables                 | 0          | <br />
| Com_update                        | 0          | <br />
| Com_update_multi                  | 0          | <br />
| Com_xa_commit                     | 0          | <br />
| Com_xa_end                        | 0          | <br />
| Com_xa_prepare                    | 0          | <br />
| Com_xa_recover                    | 0          | <br />
| Com_xa_rollback                   | 0          | <br />
| Com_xa_start                      | 0          | <br />
| Compression                       | OFF        | <br />
| Connections                       | 56         | <br />
| Created_tmp_disk_tables           | 0          | <br />
| Created_tmp_files                 | 5          | <br />
| Created_tmp_tables                | 3          | <br />
--More--(69%)<br />
| Delayed_errors                    | 0          | <br />
| Delayed_insert_threads            | 0          | <br />
| Delayed_writes                    | 0          | <br />
| Flush_commands                    | 1          | <br />
| Handler_commit                    | 0          | <br />
| Handler_delete                    | 0          | <br />
| Handler_discover                  | 0          | <br />
| Handler_prepare                   | 0          | <br />
| Handler_read_first                | 0          | <br />
| Handler_read_key                  | 0          | <br />
| Handler_read_next                 | 0          | <br />
| Handler_read_prev                 | 0          | <br />
| Handler_read_rnd                  | 0          | <br />
| Handler_read_rnd_next             | 506        | <br />
| Handler_rollback                  | 0          | <br />
| Handler_savepoint                 | 0          | <br />
| Handler_savepoint_rollback        | 0          | <br />
| Handler_update                    | 0          | <br />
| Handler_write                     | 636        | <br />
| Innodb_buffer_pool_pages_data     | 51246      | <br />
| Innodb_buffer_pool_pages_dirty    | 341        | <br />
| Innodb_buffer_pool_pages_flushed  | 54657      | <br />
| Innodb_buffer_pool_pages_free     | 994352     | <br />
| Innodb_buffer_pool_pages_misc     | 2978       | <br />
| Innodb_buffer_pool_pages_total    | 1048576    | <br />
| Innodb_buffer_pool_read_ahead_rnd | 1          | <br />
| Innodb_buffer_pool_read_ahead_seq | 0          | <br />
| Innodb_buffer_pool_read_requests  | 84251496   | <br />
| Innodb_buffer_pool_reads          | 164        | <br />
| Innodb_buffer_pool_wait_free      | 0          | <br />
| Innodb_buffer_pool_write_requests | 33545721   | <br />
| Innodb_data_fsyncs                | 3089       | <br />
| Innodb_data_pending_fsyncs        | 0          | <br />
| Innodb_data_pending_reads         | 0          | <br />
| Innodb_data_pending_writes        | 0          | <br />
| Innodb_data_read                  | 5525504    | <br />
| Innodb_data_reads                 | 200        | <br />
| Innodb_data_writes                | 4496       | <br />
| Innodb_data_written               | 2001267712 | <br />
| Innodb_dblwr_pages_written        | 0          | <br />
| Innodb_dblwr_writes               | 0          | <br />
| Innodb_log_waits                  | 0          | <br />
| Innodb_log_write_requests         | 2165426    | <br />
| Innodb_log_writes                 | 1562       | <br />
| Innodb_os_log_fsyncs              | 1879       | <br />
| Innodb_os_log_pending_fsyncs      | 0          | <br />
| Innodb_os_log_pending_writes      | 0          | <br />
| Innodb_os_log_written             | 1105554432 | <br />
| Innodb_page_size                  | 16384      | <br />
| Innodb_pages_created              | 51152      | <br />
| Innodb_pages_read                 | 204        | <br />
| Innodb_pages_written              | 54657      | <br />
| Innodb_row_lock_current_waits     | 0          | <br />
| Innodb_row_lock_time              | 0          | <br />
| Innodb_row_lock_time_avg          | 0          | <br />
| Innodb_row_lock_time_max          | 0          | <br />
| Innodb_row_lock_waits             | 0          | <br />
| Innodb_rows_deleted               | 0          | <br />
| Innodb_rows_inserted              | 8934138    | <br />
| Innodb_rows_read                  | 1699845    | <br />
| Innodb_rows_updated               | 1          | <br />
| Key_blocks_not_flushed            | 0          | <br />
| Key_blocks_unused                 | 6694       | <br />
| Key_blocks_used                   | 0          | <br />
| Key_read_requests                 | 0          | <br />
| Key_reads                         | 0          | <br />
| Key_write_requests                | 0          | <br />
| Key_writes                        | 0          | <br />
| Last_query_cost                   | 0.000000   | <br />
--More--(84%)<br />
| Max_used_connections              | 51         | <br />
| Ndb_cluster_node_id               | 0          | <br />
| Ndb_config_from_host              |            | <br />
| Ndb_config_from_port              | 0          | <br />
| Ndb_number_of_data_nodes          | 0          | <br />
| Not_flushed_delayed_rows          | 0          | <br />
| Open_files                        | 15         | <br />
| Open_streams                      | 0          | <br />
| Open_tables                       | 106        | <br />
| Opened_tables                     | 0          | <br />
| Prepared_stmt_count               | 0          | <br />
| Qcache_free_blocks                | 0          | <br />
| Qcache_free_memory                | 0          | <br />
| Qcache_hits                       | 0          | <br />
| Qcache_inserts                    | 0          | <br />
| Qcache_lowmem_prunes              | 0          | <br />
| Qcache_not_cached                 | 0          | <br />
| Qcache_queries_in_cache           | 0          | <br />
| Qcache_total_blocks               | 0          | <br />
| Queries                           | 3500545    | <br />
| Questions                         | 10         | <br />
| Rpl_status                        | NULL       | <br />
| Select_full_join                  | 0          | <br />
| Ssl_cipher_list                   |            | <br />
| Ssl_client_connects               | 0          | <br />
| Ssl_connect_renegotiates          | 0          | <br />
| Ssl_ctx_verify_depth              | 0          | <br />
| Ssl_ctx_verify_mode               | 0          | <br />
| Ssl_default_timeout               | 0          | <br />
| Ssl_finished_accepts              | 0          | <br />
| Ssl_finished_connects             | 0          | <br />
| Ssl_session_cache_hits            | 0          | <br />
| Ssl_session_cache_misses          | 0          | <br />
| Ssl_session_cache_mode            | NONE       | <br />
| Ssl_session_cache_overflows       | 0          | <br />
| Ssl_session_cache_size            | 0          | <br />
| Ssl_session_cache_timeouts        | 0          | <br />
| Ssl_sessions_reused               | 0          | <br />
| Ssl_used_session_cache_entries    | 0          | <br />
| Ssl_verify_depth                  | 0          | <br />
| Ssl_verify_mode                   | 0          | <br />
| Ssl_version                       |            | <br />
| Table_locks_immediate             | 3781054    | <br />
| Table_locks_waited                | 0          | <br />
| Tc_log_max_pages_used             | 0          | <br />
| Tc_log_page_size                  | 0          | <br />
| Tc_log_page_waits                 | 0          | <br />
| Threads_cached                    | 0          | <br />
| Threads_connected                 | 51         | <br />
| Threads_created                   | 51         | <br />
| Threads_running                   | 1          | <br />
| Uptime                            | 1690       |]]></description>
            <dc:creator>Anh Nguyen</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 25 Sep 2009 16:05:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,283220,283220#msg-283220</guid>
            <title>mySQL DATE_FORMAT question (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,283220,283220#msg-283220</link>
            <description><![CDATA[ Hello, <br />
I'm trying to implement DATE_FORMAT function in C for a personal project and I'm stuck on the %v %u %x %V %U %X parameters. Does somebody know what exactly is the difference between U and V (u and v respectively) ? What is the difference between 00..53 and 01..53? I've<br />
 made some interesting tests in mysql with january 1st for each year from 1990 to 2009 and found some strange values like: <br />
1/1/2005 -&gt; u=0 v=53 x=2004 U=0 V=52 X=2004 <br />
1/1/1995 -&gt; u=0 v=52 x=1994 U=1 V= 1 X=1995. <br />
Can somebody please explain these values to me?<br />
<br />
Thank you very much!]]></description>
            <dc:creator>Gheorghe Stefan</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 25 Sep 2009 14:51:11 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,283035,283035#msg-283035</guid>
            <title>Ads post jobs earn 30000 per month (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,283035,283035#msg-283035</link>
            <description><![CDATA[ Dear Friends, Are you interested to make Rs.1000 to Rs 2000 A Day? This is not a get rich quick scheme. This is a legal opportunity to make good money when you do it part time. This opportunity is a proven way to make Rs.1000 to Rs.2000 A Day . There are already many people around the world grabbed this opportunity and making tons of money every month. If you are interested to know more about this opportunity, visit  <br />
www.postadsearnmoney.com  call 9731363571      <a rel="nofollow"  href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#109;&#97;&#103;&#105;&#99;&#109;&#111;&#110;&#101;&#121;&#101;&#97;&#114;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#109;&#97;&#103;&#105;&#99;&#109;&#111;&#110;&#101;&#121;&#101;&#97;&#114;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a>     Posted Id- 00254]]></description>
            <dc:creator>allabakasha ab</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Thu, 24 Sep 2009 15:06:39 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,282683,282683#msg-282683</guid>
            <title>Not allow to create func usig admin rights (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,282683,282683#msg-282683</link>
            <description><![CDATA[ Hi All,<br />
<br />
I am trying to create function on informational_schema using admin rights<br />
<br />
But it is throwing me an ERROR 1044: Access denied for ser: 'username@.localhost' to database 'Informational_schema'<br />
<br />
Thanks in advance]]></description>
            <dc:creator>suhas mahajan</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 06 Oct 2009 10:24:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,282676,282676#msg-282676</guid>
            <title>Convert Long value into Date (4 replies)</title>
            <link>http://forums.mysql.com/read.php?143,282676,282676#msg-282676</link>
            <description><![CDATA[ How to convert long value of date into date format  using sql functions in mysql.]]></description>
            <dc:creator>airease 16</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 09 Oct 2009 04:57:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,282576,282576#msg-282576</guid>
            <title>Convert Date Format (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,282576,282576#msg-282576</link>
            <description><![CDATA[ My sql version is 5. i want to convert date in format 'Tue sep 01 00:00:00 GMT 2009' into '2009-09-01 00:00:00'. I have tried Date_Format and str_to-date functions but if string contains timezone for eg. 'GMT' it doesn't convert it and gives null value. How can i convert date 'Tue sep 01 00:00:00 GMT 2009' into format '2009-09-01 00:00:00']]></description>
            <dc:creator>airease 16</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 06 Oct 2009 08:41:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,282509,282509#msg-282509</guid>
            <title>Urgent  -Search column name by column number (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,282509,282509#msg-282509</link>
            <description><![CDATA[ Hi All,<br />
How do we get exact column name by giving its column number?<br />
<br />
Scenario,<br />
         We need to find column name by its position number in table.<br />
<br />
E.g. I have emp table having fields (eno, ename, addr, email)<br />
<br />
     Now I will put the condition in where clause ---<br />
     <br />
     Where column_number=2;<br />
     then it should take the ename. and returns the value.<br />
<br />
<br />
 How can I achieve it.<br />
<br />
Thank in advance]]></description>
            <dc:creator>suhas mahajan</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 06 Oct 2009 10:36:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,282445,282445#msg-282445</guid>
            <title>Replication btw 2 tables in same database. (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,282445,282445#msg-282445</link>
            <description><![CDATA[ Hello Guys ,<br />
<br />
I have one odd kind of requirement. I need to copy some kind of data from table1 to table2 , I was using trigger earlier but that kills the DB.<br />
<br />
is that possible if I can use replication btw 2 tables in same database. like what event insert/update/delete happened on table1 , that should replicate on table2 .. if that is possible then no need to use big trigger finally to copy the data from one table to other table...<br />
<br />
in other tear I would say table1 is subset of table2 .. so what ever happen in table1 , should replicate on table2<br />
<br />
would be great ,if there is other solution is possible to copy the data from table1 to table2 at the end process ( except trigger) <br />
<br />
Please do let me know if my requirement is not enough clear ... <br />
<br />
Thanks in advance !]]></description>
            <dc:creator>Pratik Singh</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 22 Sep 2009 08:26:20 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,281895,281895#msg-281895</guid>
            <title>Update database MYSQL with VB6 (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,281895,281895#msg-281895</link>
            <description><![CDATA[ Hi..I'm trying to replace FireBird by Mysql database. My VB6 programs don't want to update the database . I'm using Mysql V5.1 . I didn't have any problem to load data in the tables with a VB6 program but when trying to update a record I have the message execution error &quot;2147467259(80004005) La mise a jour basee sur une requete a echoué car la ligne a mettre a jour est introuvable&quot;(French version). But the table fields contain the good data . Here is a part of the code :<br />
<br />
Set BONMONSQL = New Recordset<br />
result_req = &quot; select * from BONMONTEUR&quot;<br />
BONMONSQL.Open result_req, SQLServer, , adLockOptimistic<br />
<br />
If Not BONMONSQL.EOF Then<br />
    BONMONSQL.MoveFirst<br />
End If<br />
Do While Not BONMONSQL.EOF<br />
    <br />
        BONMONSQL!DateTransf = Date<br />
        BONMONSQL.Update<br />
Loop<br />
Please help]]></description>
            <dc:creator>GERARD LAPORTE</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Fri, 18 Sep 2009 09:58:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,281651,281651#msg-281651</guid>
            <title>Table Locking (1 reply)</title>
            <link>http://forums.mysql.com/read.php?143,281651,281651#msg-281651</link>
            <description><![CDATA[ Hi all,<br />
<br />
<br />
My question is in time period of Begin(start transaction) and Commit table is locked or not?]]></description>
            <dc:creator>Vikas Gupta`</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 06 Oct 2009 10:51:37 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,281307,281307#msg-281307</guid>
            <title>slave_compressed_protocol value in 4.1.11 Debian Etch (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,281307,281307#msg-281307</link>
            <description><![CDATA[ Hi,<br />
<br />
I would like to know the value of slave_compressed_protocol in V4.1.11 on Debian Etch.<br />
<br />
Show Variables does NOT give this variable.<br />
<br />
I turned it on:<br />
SET GLOBAL SLAVE_COMPRESSED_PROTOCOL=1;<br />
<br />
There were no errors or warnings.  I see nothing in the system log, on neither the Slave nor Master.<br />
<br />
I would like to be able to verify its setting.  How can I see that the Slave Compression is on?<br />
<br />
Thanks<br />
- Gabe]]></description>
            <dc:creator>Gabe Tucker</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Tue, 15 Sep 2009 15:17:50 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,280714,280714#msg-280714</guid>
            <title>Import multiple CSV files in one Mysql table. (2 replies)</title>
            <link>http://forums.mysql.com/read.php?143,280714,280714#msg-280714</link>
            <description><![CDATA[ Hello all,<br />
Scenario:<br />
<br />
1. I have requirement where multiple CSV files should imported autoomatically in  one table by appending it (myasql database).<br />
E.g files a.csv has 10 record import in table A with 10 records then b.csv file has 20 records should get imported in table A i.e 10+20 records record in second file should append in table A.<br />
<br />
I have written a batch script which import one csv file in mysql table but how can I achieve it for bulk or multiple files.<br />
<br />
2. How can I import multiple files in multiple tables.<br />
   E.g - File a.csv, b.csv, c.csv (stored in one n/w folder) should get imported in Table a, b, c by using batch script.<br />
<br />
Awaiting for your response.<br />
<br />
Thanks in advance.]]></description>
            <dc:creator>suhas mahajan</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Mon, 14 Sep 2009 04:57:25 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?143,278928,278928#msg-278928</guid>
            <title>Inserting french characters in mySQL DB table (no replies)</title>
            <link>http://forums.mysql.com/read.php?143,278928,278928#msg-278928</link>
            <description><![CDATA[ Hello,<br />
<br />
I feel like this has been discussed a whole bunch on different forums but still, I haven't been able to find out what's wrong with my set up...<br />
I am having a major issue with inserting french characters in my mySQL DB. The french charaters display perfectly fine on the client-side page. If I edit a field directly in the phpMySQL control panel, the french characters also displays correctly.<br />
But if I insert or update fields from a form on a webpage (using PHP), it converst the special french characters into something not readable. For example, à becomes Ã Â.<br />
<br />
I feel as if I've tried it all... any ideas?? here are the variables set on my server for phpMySQL:<br />
*********************************************<br />
character set client utf8<br />
(Global value) latin1<br />
character set connection utf8<br />
(Global value) latin1<br />
character set database latin1<br />
character set filesystem binary<br />
character set results utf8<br />
(Global value) latin1<br />
character set server latin1<br />
character set system utf8<br />
character sets dir /usr/share/mysql/charsets/<br />
collation connection utf8_general_ci<br />
(Global value) latin1_swedish_ci<br />
collation database latin1_swedish_ci<br />
collation server latin1_swedish_ci<br />
********************************************<br />
<br />
Any ideas or suggestions would be much appreciated!<br />
<br />
Thanks,<br />
Steph]]></description>
            <dc:creator>Stephane Halle</dc:creator>
            <category>Knowledge Base</category>
            <pubDate>Mon, 31 Aug 2009 15:31:01 +0000</pubDate>
        </item>
    </channel>
</rss>
