<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>MySQL</title>
        <link>http://geekswithblogs.net/TimH/category/2795.aspx</link>
        <description>MySQL</description>
        <language>en-NZ</language>
        <copyright>Tim Huffam</copyright>
        <managingEditor>timhuffam@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>System.ArgumentException: Invalid postback or callback argument.</title>
            <link>http://geekswithblogs.net/TimH/archive/2008/10/29/system.argumentexception-invalid-postback-or-callback-argument.aspx</link>
            <description>&lt;p&gt;The following exception occurs in ASP.NET (version: 2.0.50727.1433) when you trigger an event on an ASP.Net object that has no ID set, eg clicking on a LinkButton:&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New" color="#0000ff" size="2"&gt;System.ArgumentException: Invalid postback or callback argument.  Event validation is enabled using &amp;lt;pages enableEventValidation="true"/&amp;gt; in configuration or &amp;lt;%@ Page EnableEventValidation="true" %&amp;gt; in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;The fix for this is to simply make sure the object has an ID assigned to it eg:&lt;/p&gt;
&lt;font color="#2b91af" size="2"&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#2b91af" size="2"&gt;LinkButton&lt;/font&gt; theButton = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;LinkButton&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;();&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;theButton.ID = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;"buttonID"&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Courier New"&gt;;&lt;/font&gt;&lt;/font&gt; &lt;img src="http://geekswithblogs.net/TimH/aggbug/126279.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Huffam</dc:creator>
            <guid>http://geekswithblogs.net/TimH/archive/2008/10/29/system.argumentexception-invalid-postback-or-callback-argument.aspx</guid>
            <pubDate>Wed, 29 Oct 2008 05:37:51 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TimH/comments/126279.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TimH/archive/2008/10/29/system.argumentexception-invalid-postback-or-callback-argument.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TimH/comments/commentRss/126279.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/TimH/services/trackbacks/126279.aspx</trackback:ping>
        </item>
        <item>
            <title>Great multi-vendor DB Tool == Aqua Data Studio</title>
            <link>http://geekswithblogs.net/TimH/archive/2005/11/25/61169.aspx</link>
            <description>&lt;P&gt;Came across a great multi-vendor db tool today called Aqua from &lt;A href="http://www.aquafold.com/index.html"&gt;AquaFold&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;It's much like the&amp;nbsp;Enterprise Manager that comes with MS SQL Server - but, personally I think it's waaaay better - more functionality (intelli-sense would be one of my favourites) etc.&lt;/P&gt;
&lt;P&gt;It supports most of the main rdbms's:&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class=outline cellSpacing=0 cellPadding=0 width="100%" bgColor=white border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Oracle&lt;/B&gt;&lt;BR&gt;- 8i/9i/10g &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;DB2 UDB&lt;/B&gt;&lt;BR&gt;- 7.x/8.x &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;MS SQL Server&lt;/B&gt;&lt;BR&gt;- 2000/2005/7/MSDE &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Sybase ASE&lt;/B&gt;&lt;BR&gt;- 11.x/12.x/15 &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Sybase Anywhere&lt;/B&gt;&lt;BR&gt;- 6/7/8/9 &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Informix (IDS)&lt;/B&gt;&lt;BR&gt;- 7.x/9.4/10 &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Postgresql&lt;/B&gt;&lt;BR&gt;- 7.x/8.0 &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;MySQL&lt;/B&gt;&lt;BR&gt;- 3.x/4.x/5 &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Generic JDBC[tm]&lt;/B&gt; &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=copy&gt;&lt;B&gt;Generic ODBC&lt;/B&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt; &lt;img src="http://geekswithblogs.net/TimH/aggbug/61169.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Huffam</dc:creator>
            <guid>http://geekswithblogs.net/TimH/archive/2005/11/25/61169.aspx</guid>
            <pubDate>Fri, 25 Nov 2005 17:42:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TimH/comments/61169.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TimH/archive/2005/11/25/61169.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TimH/comments/commentRss/61169.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/TimH/services/trackbacks/61169.aspx</trackback:ping>
        </item>
        <item>
            <title>Cheatsheet: Quick install PHP and PhpMyAdmin</title>
            <link>http://geekswithblogs.net/TimH/archive/2005/10/31/58671.aspx</link>
            <description>&lt;P&gt;These notes apply to&amp;nbsp;PhpMyAdmin 2.6.4-pl3&amp;nbsp;on a Windows box (in my case XP Pro).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PHP&lt;/STRONG&gt; &lt;/P&gt;
&lt;DIV&gt;v 5 (5.1.4):&lt;BR&gt;&lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;Unzip download&amp;nbsp;eg into c:\php 
&lt;LI&gt;Add the php dir to the PATH environment variable.
&lt;LI&gt;Copy php.ini-dist into windows dir (eg c:\windows) as php.ini (the php install docs&amp;nbsp;incorrectly state&amp;nbsp;that you&amp;nbsp;only need to add the php dir to the PATH env var - and&amp;nbsp;dont have to move any files into the windows dirs - however that's bollocks - at a bear minimum you need the ini in your windows dir.)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;NOTE:&lt;/STRONG&gt; This is the development version - switch over to using php.ini-recommended when doing testing &lt;STRONG&gt;*and* &lt;/STRONG&gt;live deployment.
&lt;LI&gt;Create an application mapping within IIS to map extention .php to&amp;nbsp;c:\php\php5isapi.dll.&lt;BR&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;v 4 (4.3.10)&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Unzip download&amp;nbsp;eg into C:\php-4.3.10-Win32 
&lt;LI&gt;Copy php.ini-dist into windows dir (eg c:\windows) as php.ini&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;NOTE:&lt;/STRONG&gt; This is the development version - switch over to using php.ini-recommended when doing testing &lt;STRONG&gt;*and* &lt;/STRONG&gt;live deployment 
&lt;LI&gt;Copy php4ts.dll to windows system dir (eg C:\WINDOWS\system32) 
&lt;LI&gt;Create an application mapping within IIS to map extention .php to&amp;nbsp;php4isapi.dll.&lt;BR&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You may need to add the&amp;nbsp;php dir (eg C:\php-4.3.10-Win32) to PATH environment variable. 
&lt;LI&gt;You may need to edit php.ini and apply the following settings:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cgi.force_redirect = 0;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;PhpMyAdmin:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Unzip download eg into C:\phpMyAdmin-2.6.4-pl3 
&lt;LI&gt;Create a virtual dir&amp;nbsp; (eg called pma) within IIS pointing to your phpmyadmin dir eg&amp;nbsp; C:\php-4.3.10-Win32.&lt;BR&gt;Use the default IIS settings (ie Read and Run scripts permissions). 
&lt;LI&gt;Edit config.inc.php and apply the following settings (enter your own settings - I've just shown mine): 
&lt;OL&gt;
&lt;LI&gt;$cfg['PmaAbsoluteUri'] = 'http://localhost/pma'; 
&lt;LI&gt;$cfg['blowfish_secret'] = 'smallcat'; 
&lt;LI&gt;$cfg['Servers'][$i]['auth_type']&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'cookie';&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Bingo - that *should* be enough.&lt;/P&gt;
&lt;P&gt;Give it a whirl.&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt; &lt;img src="http://geekswithblogs.net/TimH/aggbug/58671.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Huffam</dc:creator>
            <guid>http://geekswithblogs.net/TimH/archive/2005/10/31/58671.aspx</guid>
            <pubDate>Mon, 31 Oct 2005 20:25:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TimH/comments/58671.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TimH/archive/2005/10/31/58671.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TimH/comments/commentRss/58671.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/TimH/services/trackbacks/58671.aspx</trackback:ping>
        </item>
        <item>
            <title>PHPMyAdmin - Client does not support authentication protocol requested by server; consider upgrading MySQL client</title>
            <link>http://geekswithblogs.net/TimH/archive/2005/10/31/58591.aspx</link>
            <description>&lt;p&gt;This seems to be quite a common error for many people installing PhpMyAdmin for the first time.&lt;/p&gt;
&lt;p&gt;The phpmyadmin (pma) docs mention it - basically stating that the mysql client is out of date.&lt;/p&gt;
&lt;p&gt;In the past I've solved this by updating my version php, and also by using the manual install as the windows installer package uses (well it used to) an old version of the mysql client library.&lt;/p&gt;
However today I discovered a simple workaround &lt;a href="http://www.megalinux.net/archives/463.html"&gt;here&lt;/a&gt; &lt;span style="text-decoration: underline;"&gt; &lt;/span&gt;(thanks a million to &lt;span id="apnlCommentsWrapper$RBS_Holder"&gt;&lt;span ajaxcall="async" id="apnlCommentsWrapper"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a target="_blank" href="http://www.megalinux.net/" title="PingBack/TrackBack" id="Comments_ascx_CommentList_ctl03_NameLink"&gt;Ram Prasad&lt;/a&gt; who posted it!!!!) - and what a simple solution it is!  Just run the following SQL to reset your password:
&lt;p&gt;&lt;font size="2" face="Courier New" color="#000080"&gt;SET PASSWORD FOR user@localhost = OLD_PASSWORD('password'); &lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt; &lt;img src="http://geekswithblogs.net/TimH/aggbug/58591.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Huffam</dc:creator>
            <guid>http://geekswithblogs.net/TimH/archive/2005/10/31/58591.aspx</guid>
            <pubDate>Mon, 31 Oct 2005 11:39:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TimH/comments/58591.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TimH/archive/2005/10/31/58591.aspx#feedback</comments>
            <slash:comments>66</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TimH/comments/commentRss/58591.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/TimH/services/trackbacks/58591.aspx</trackback:ping>
        </item>
        <item>
            <title>Cannot open the file: mk:@MKITStore:C:\Program Files\MySQL\MySQL Server 4.1\Docs\manual.chm</title>
            <link>http://geekswithblogs.net/TimH/archive/2005/09/22/54689.aspx</link>
            <description>&lt;P&gt;What a pile of b-grade sh*t - you download &amp; install a fresh install of mysql... then open the manual to get this message.&lt;/P&gt;
&lt;P&gt;So I try downloading a new copy from the mysql web site - under Documentation (duh)... this time the help file loads... and shows the table of contents.. but no details (Page cannot be found error).&lt;/P&gt;
&lt;P&gt;Hell, even the old v3 versions had help files that worked - what a pile of sh*t - no wonder it's free :-p&lt;/P&gt;
&lt;P&gt;t &lt;/P&gt; &lt;img src="http://geekswithblogs.net/TimH/aggbug/54689.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Huffam</dc:creator>
            <guid>http://geekswithblogs.net/TimH/archive/2005/09/22/54689.aspx</guid>
            <pubDate>Fri, 23 Sep 2005 00:48:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TimH/comments/54689.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TimH/archive/2005/09/22/54689.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TimH/comments/commentRss/54689.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/TimH/services/trackbacks/54689.aspx</trackback:ping>
        </item>
    </channel>
</rss>
