<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums</title>
        <description></description>
        <link>http://forums.mysql.com/index.php</link>
        <lastBuildDate>Sat, 07 Nov 2009 09:32:29 +0000</lastBuildDate>
        <generator>Phorum 5.2.1-alpha</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?98,289989,289989#msg-289989</guid>
            <title>Error code 1607: Cannot create stored routine . . Check warnings (local only) (no replies)</title>
            <link>http://forums.mysql.com/read.php?98,289989,289989#msg-289989</link>
            <description><![CDATA[ I recently installed Windows 7 on my laptop to Drive B (fresh install, temp dual-boot). After installing the latest version of MySQL Essentials, I'm having trouble creating some stored procedures.<br />
<br />
I can create them fine on all our remote servers, just not locally. The issue has thus far only occurred on 2 procedures. I get an error when trying to create:<br />
<br />
Cannot create stored routine `abm_TicketList`. Check warnings<br />
<br />
SHOW WARNINGS returns nothing. I've tried flushing everything, dump and rebuild. I've lost many valuable hours on this, so any suggestions on how to troubleshoot would be greatly appreciated.<br />
<br />
Thanks.]]></description>
            <dc:creator>Michal Shafir</dc:creator>
            <category>Stored Procedures</category>
            <pubDate>Sat, 07 Nov 2009 04:10:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,289985,289985#msg-289985</guid>
            <title>MySQL and VS2008 problems with Time/TimeSpan and DateTime (no replies)</title>
            <link>http://forums.mysql.com/read.php?38,289985,289985#msg-289985</link>
            <description><![CDATA[ I'm using MySQL 5.1.39 x64 on Windows and Visual Studio 2008. I have a couple of problems, just want to know if anyone has seen something like this before ...<br />
<br />
Using connector/net versions 5.2.7, 6.1.2, 6.2.0 and adding a dataset to Visual Studio - I get the dreaded &quot; Failed to add relations : Column 'REFERENCED_TABLE_CATALOG' does not belong to table... &quot;. It adds the tables but not the relationships ... I wonder what is going on. Tried recreating database from scripts, no luck so far. Has anyone come across this problem and if they solved it, care to share the wisdom ?<br />
<br />
The other problem is that one of the tables uses TIME and DATETIME columns. The TableAdapter created from the typed dataset for the TIME column maps to a System.DateTime ... shouldn't it map to a System.TimeSpan ? Anyone know of how to get the VS2008 integration to handle TIME mappings correctly ?]]></description>
            <dc:creator>Harsh W</dc:creator>
            <category>.NET</category>
            <pubDate>Sat, 07 Nov 2009 03:08:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289983,289983#msg-289983</guid>
            <title>Merge Data between two Tables (no replies)</title>
            <link>http://forums.mysql.com/read.php?10,289983,289983#msg-289983</link>
            <description><![CDATA[ Hello,<br />
<br />
I have a forum that I co-support and we are looking to install a recipe Blog application that we would like to be able to use the forum user table instead of the recipe blog app user table.<br />
<br />
I am wondering if it is possible to merge the two tables together and then query the info from the &quot;forum User Table&quot;.<br />
<br />
I can provide table info if needed.<br />
<br />
Thanks in advance!]]></description>
            <dc:creator>Jeff Mitchell</dc:creator>
            <category>Newbie</category>
            <pubDate>Sat, 07 Nov 2009 02:41:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?119,289982,289982#msg-289982</guid>
            <title>Multiple events Times (no replies)</title>
            <link>http://forums.mysql.com/read.php?119,289982,289982#msg-289982</link>
            <description><![CDATA[ what would be the parameters:<br />
<br />
1&gt;To launch an event every 20 minutes starting at 9:00am ending at 5:00pm every day.<br />
   (? how do you define a time without a date) <br />
<br />
2&gt;To launch an event based on if statement.... Check if table updated, if table update, do nothing. If not, update. would run at 1 hour interval, between 00:00:00 to 00:00:10. <br />
<br />
3&gt;at 5:00pm, dump txt files. Again at 5:00pm, not date but time only.]]></description>
            <dc:creator>ashr ben</dc:creator>
            <category>Events (Job Scheduler)</category>
            <pubDate>Sat, 07 Nov 2009 02:31:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289980,289980#msg-289980</guid>
            <title>MYSQL Command Line + Workbench (no replies)</title>
            <link>http://forums.mysql.com/read.php?10,289980,289980#msg-289980</link>
            <description><![CDATA[ Hi guys, <br />
<br />
Its my second day using MYSQL and iv been using the workbench and command line for a good 7hours + now.<br />
<br />
I have created tables in both the commandline way and the workbench way and added data in to the created table.<br />
<br />
The problem im having is that i have the MYSQL server running and setup on my machine and i created a database using the workbench but now im wanting to submit queries in the commandline by accessing data from my newly created database (from workbench)<br />
<br />
I know of the command &quot;SHOW DATABASES;&quot; but my workbench one is not appearing in the list. I have searched my computer numourse times to find where these tables are stored so that i can place my workbench table with the ones i have created using the command line earlier but cannot find the location.<br />
<br />
How can i access and start using queries to select data on my new tables from the workbench database as i cannot locate it!!<br />
<br />
Thankyou in advance!, plz be gentle...]]></description>
            <dc:creator>sam b</dc:creator>
            <category>Newbie</category>
            <pubDate>Sat, 07 Nov 2009 02:16:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?125,289978,289978#msg-289978</guid>
            <title>Combining multiple tables by date/time (no replies)</title>
            <link>http://forums.mysql.com/read.php?125,289978,289978#msg-289978</link>
            <description><![CDATA[ Hi all,<br />
<br />
Full disclosure, I'm not actually doing this in MySQL, but I couldn't find any general database modeling forums and I need help. :)<br />
<br />
I am trying to model a database containing information about events from different sources.  All of these tables have date and time (DATETIME and INT respectively), and I've added an integer primary key to each table.<br />
<br />
To make it a bit more concrete, say for example table1 and table2 look like<br />
<br />
PKEY, DATE, TIME, DESCRIPTION<br />
PKEY, DATE, TIME, CATEGORY, LOCATION, etc.<br />
<br />
The desired end state is a query which produces<br />
<br />
DATE, TIME, DESCRIPTION, CATEGORY, LOCATION, etc.<br />
<br />
Which contains all records in both tables (my real model currently has 4 tables).  Currently the way that I'm doing it is by having an additional table in the form<br />
<br />
PKEY, DATE, TIME, table1ID, table2ID<br />
<br />
Which I populate with the key of the appropriate table in the appropriate field and then join.<br />
<br />
The biggest issue I have with this approach is that each change I make to table1 or table2 requires me to make an appropriate change in the additional table.  If possible I'd like to do this through modeling instead.  Secondarily, I imagine that as I add sources that the performance of this will be close to O(N^2).<br />
<br />
Does anyone have any suggestions on how to improve this scenario?  I'm quite a bit rusty on SQL, but I don't recall an easy way to do this.  Theory rather than actual code is most appreciated, but any suggestions I'll make work.<br />
<br />
Thanks in advance,<br />
<br />
Dion]]></description>
            <dc:creator>Dion Houston Sr</dc:creator>
            <category>Database Design and Data Modelling</category>
            <pubDate>Sat, 07 Nov 2009 01:57:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,289976,289976#msg-289976</guid>
            <title>Creating MySql Database with ASP.Net (no replies)</title>
            <link>http://forums.mysql.com/read.php?38,289976,289976#msg-289976</link>
            <description><![CDATA[ I have posted on other forums but have not gotten a good response to this question.  Is is possible to create a MySql database with ASP.Net?  If so, how.  A response from the Microsoft forum brought me here.<br />
<br />
This link provides code to create the tables:<br />
<a rel="nofollow"  href="http://forums.mysql.com/read.php?38,63403,63403">http://forums.mysql.com/read.php?38,63403,63403</a><br />
<br />
Thanks for any help you can offer,<br />
<br />
Robin]]></description>
            <dc:creator>Robin Rembish</dc:creator>
            <category>.NET</category>
            <pubDate>Sat, 07 Nov 2009 01:38:17 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289975,289975#msg-289975</guid>
            <title>question marks (2 replies)</title>
            <link>http://forums.mysql.com/read.php?10,289975,289975#msg-289975</link>
            <description><![CDATA[ Hi..<br />
<br />
I have used the following script to create table and load data:<br />
<br />
CREATE TABLE  `TaskAccepts` (<br />
`SR_Number` VARCHAR(12) NOT NULL,<br />
`Type_Name`  VARCHAR(25),<br />
`Summary`  VARCHAR(255),<br />
`Status_Name`  VARCHAR(12),<br />
`Severity_Name`  VARCHAR(2),<br />
`Language`  VARCHAR(2),<br />
`Timezone`  VARCHAR(12),<br />
`Region`  VARCHAR(30),<br />
`Gem`  VARCHAR(30),<br />
`Country_Group`  VARCHAR(30),<br />
`Country`  VARCHAR(30),<br />
`Task_Number`  VARCHAR(16),<br />
`Task_Type`  VARCHAR(25),<br />
`Task_Name`  VARCHAR(255),<br />
`Owner_Group`  VARCHAR(40),<br />
`Business_Unit`  VARCHAR(12),<br />
`Vertical`  VARCHAR(12),<br />
`Geo`  VARCHAR(30),<br />
`Gem2`  VARCHAR(30),<br />
`Country2`  VARCHAR(30),<br />
`Partner_Sun`  VARCHAR(10),<br />
`Assignee`  VARCHAR(50),<br />
`L5_Name`  VARCHAR(50),<br />
`L6_Name`  VARCHAR(50),<br />
`L7_Name`  VARCHAR(50),<br />
`L8_Name`  VARCHAR(50),<br />
`L9_Name`  VARCHAR(50),<br />
`Task_Status`  VARCHAR(12),<br />
`Task_Creation_Date`  VARCHAR(20),<br />
`CalYear`  VARCHAR(4),<br />
`CalYearQtr`  VARCHAR(6),<br />
`CalYearMonth`  VARCHAR(7),<br />
`Week`  VARCHAR(2),<br />
`Date`  VARCHAR(20),<br />
`PlannedStartDate`  VARCHAR(20),<br />
`ScheduledStartDate`  VARCHAR(20),<br />
`ActualStartDate`  VARCHAR(20),<br />
`TaskClosedDate`  VARCHAR(20),<br />
`CalYear2`  VARCHAR(4),<br />
`CalYearQtr2`  VARCHAR(6),<br />
`CalYearMonth2`  VARCHAR(7),<br />
`Week2`  VARCHAR(2),<br />
`Date2`  VARCHAR(20),<br />
`Duration`  VARCHAR(12),<br />
`DurationUom`  VARCHAR(12),<br />
`NumDaysOpen`  VARCHAR(12),<br />
`FullName`  VARCHAR(50),<br />
`L9_Employee`  VARCHAR(50),<br />
`L8_Employee`  VARCHAR(50),<br />
`L7_Employee`  VARCHAR(50),<br />
`L6_Employee`  VARCHAR(50),<br />
`L5_Employee`  VARCHAR(50),<br />
`WorkgroupName`  VARCHAR(40),<br />
`AffectedProductSerial`  VARCHAR(100),<br />
`ApplicationVersion`  VARCHAR(100),<br />
`OSVersionLOV`  VARCHAR(100),<br />
`PlatformLOV`  VARCHAR(100),<br />
`ProductLOV`  VARCHAR(100),<br />
`Level_1`  VARCHAR(12),<br />
`Level_2`  VARCHAR(12),<br />
`Level_3`  VARCHAR(20),<br />
`Level_4`  VARCHAR(30),<br />
`Level_5`  VARCHAR(30)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;<br />
<br />
<br />
load data local infile './TasksAssigned.csv' into table TaskAccepts fields terminated by '\t' lines terminated by '\n';<br />
<br />
<br />
This appears to work, but when I look at the data there is a ? between every character... where it should say Name... it says N?a?m?e?<br />
<br />
What am I missing?<br />
<br />
Thanks a bundle!]]></description>
            <dc:creator>Cash Perkins</dc:creator>
            <category>Newbie</category>
            <pubDate>Sat, 07 Nov 2009 06:34:33 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?8,289973,289973#msg-289973</guid>
            <title>Immediate MYSQL DBA needed in San Diego (no replies)</title>
            <link>http://forums.mysql.com/read.php?8,289973,289973#msg-289973</link>
            <description><![CDATA[ We currently have an open position for MYSQL DBA but having trouble finding  right candidates to interview. Ideally this individual will be strong on MySQL with some knowledge of SQL Server. Please forward this to anybody you know that might make a great candidate and have them contact Brooke Smith in HR at 866.475.0317 x 2797 or <a rel="nofollow"  href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#99;&#97;&#110;&#100;&#105;&#99;&#101;&#46;&#115;&#109;&#105;&#116;&#104;&#64;&#98;&#114;&#105;&#100;&#103;&#101;&#112;&#111;&#105;&#110;&#116;&#101;&#100;&#117;&#99;&#97;&#116;&#105;&#111;&#110;&#46;&#99;&#111;&#109;">&#99;&#97;&#110;&#100;&#105;&#99;&#101;&#46;&#115;&#109;&#105;&#116;&#104;&#64;&#98;&#114;&#105;&#100;&#103;&#101;&#112;&#111;&#105;&#110;&#116;&#101;&#100;&#117;&#99;&#97;&#116;&#105;&#111;&#110;&#46;&#99;&#111;&#109;</a> or <a rel="nofollow"  href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#68;&#101;&#98;&#97;&#46;&#78;&#97;&#121;&#97;&#107;&#64;&#98;&#114;&#105;&#100;&#103;&#101;&#112;&#111;&#105;&#110;&#116;&#101;&#100;&#117;&#99;&#97;&#116;&#105;&#111;&#110;&#46;&#99;&#111;&#109;">&#68;&#101;&#98;&#97;&#46;&#78;&#97;&#121;&#97;&#107;&#64;&#98;&#114;&#105;&#100;&#103;&#101;&#112;&#111;&#105;&#110;&#116;&#101;&#100;&#117;&#99;&#97;&#116;&#105;&#111;&#110;&#46;&#99;&#111;&#109;</a>.<br />
<br />
Job Description:<br />
5+ years of database administration experience working with MS SQL 2000/ 2005 / 2008, MySQL 5.x, and/or Oracle 9i or higher environments. This person will need to have a strong knowledge of database administration duties, including installation, configuration, performance tuning and optimization, database maintenance, troubleshooting, business continuity and disaster recovery. Additionally, this position will play a key role in facilitating database design for applications that reside in both Windows and Linux environments.<br />
Thanks<br />
Deba Nayak<br />
Sr DBA<br />
Bridgepoint Education<br />
San Diego,CA]]></description>
            <dc:creator>deba nayak</dc:creator>
            <category>Jobs</category>
            <pubDate>Sat, 07 Nov 2009 00:20:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?52,289970,289970#msg-289970</guid>
            <title>Assistance With PHP MySQL Query (1 reply)</title>
            <link>http://forums.mysql.com/read.php?52,289970,289970#msg-289970</link>
            <description><![CDATA[ Hello-<br />
<br />
I am relatively new to PHP and MySQL and would appreciate any assistance with a problem I am having.<br />
<br />
This is the code I am using:<br />
&lt;?php<br />
$con = mysql_connect(&quot;localhost&quot;,&quot;UID&quot;,&quot;PASSWORD&quot;);<br />
if (!$con)<br />
{die('Could not connect: ' . mysql_error());}<br />
mysql_select_db(&quot;DBNAME&quot;, $con);<br />
<br />
$query  = &quot;SELECT fname, lname, car_id, make FROM names LEFT JOIN cars on (names.name_id = cars.name_id) ORDER BY lname&quot;;<br />
$result = mysql_query($query);<br />
while($row = mysql_fetch_array($result, MYSQL_ASSOC))<br />
{<br />
echo &quot;{$row['fname']} {$row['lname']} &lt;br&gt;&quot;;<br />
echo &quot;{$row['car_id']} &lt;br&gt;&quot;;<br />
echo &quot;{$row['make']} &lt;br&gt;&quot;;	<br />
}<br />
?&gt;<br />
<br />
<br />
Here is my output:<br />
<br />
FirstName LastName1<br />
1<br />
Volkswagon<br />
<br />
FirstName LastName2<br />
2<br />
Toyota<br />
<br />
FirstName Lastname2<br />
3<br />
Mercury<br />
<br />
FirstName LastName2<br />
4<br />
Lexus <br />
<br />
I would like the output to be:<br />
<br />
FirstName LastName1<br />
1<br />
Volkswagon<br />
<br />
FirstName LastName2<br />
2<br />
Toyota<br />
<br />
3<br />
Mercury<br />
<br />
FirstName LastName2<br />
4<br />
Lexus <br />
<br />
I would like people who have multiple cars to only have the name print once and the cars print underneath.<br />
<br />
Thank you very much for your time.]]></description>
            <dc:creator>Mary Mills</dc:creator>
            <category>PHP</category>
            <pubDate>Fri, 06 Nov 2009 23:44:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?108,289969,289969#msg-289969</guid>
            <title>Is Query Browser secure accross the Internet? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?108,289969,289969#msg-289969</link>
            <description><![CDATA[ I can't find anything in the docs about the protocol Query Browser uses to communicate.  I'd like to suggest it to hosting clients you want access to their databases, but only if its secure.  At the very least, is the log-in encrypted?]]></description>
            <dc:creator>Gary Cornelisse</dc:creator>
            <category>MySQL Query Browser</category>
            <pubDate>Sat, 07 Nov 2009 01:15:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?71,289966,289966#msg-289966</guid>
            <title>busqueda en todas la tablas (no replies)</title>
            <link>http://forums.mysql.com/read.php?71,289966,289966#msg-289966</link>
            <description><![CDATA[ hola, <br />
  con &quot;show tables;&quot; puedo ver todas la tablas.<br />
<br />
como puedo hacer una consulta sobre todas las tablas usando &quot;show tables&quot;, algo como : <br />
<br />
select * from (show tables) as tablas;<br />
<br />
o buscar la fecha maxima en todas las tablas <br />
<br />
select max(fecha) from (show tables) as tablas; <br />
<br />
//sabiendo que todas las tablas contienen el campo fecha<br />
<br />
gracias.]]></description>
            <dc:creator>JuanPablo A</dc:creator>
            <category>Spanish</category>
            <pubDate>Fri, 06 Nov 2009 21:53:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?71,289963,289963#msg-289963</guid>
            <title>script base de datos (no replies)</title>
            <link>http://forums.mysql.com/read.php?71,289963,289963#msg-289963</link>
            <description><![CDATA[ Hola, soy nuevo y tengo una pregunta bastante simple. Se puede generar el script de la estructura de una base de datos vd ? a partir de la consola, claro]]></description>
            <dc:creator>Esteban Cacavelos</dc:creator>
            <category>Spanish</category>
            <pubDate>Fri, 06 Nov 2009 21:25:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?152,289958,289958#msg-289958</guid>
            <title>How do you remove mydb (no replies)</title>
            <link>http://forums.mysql.com/read.php?152,289958,289958#msg-289958</link>
            <description><![CDATA[ I've imported (reverse engineered) an existing database and built a nice looking ERR diagram. The database is listed second under Physical Schemata. I cannot figure out how to remove the default mydb still there with nothing in it. How?]]></description>
            <dc:creator>Geoffrey Hoffman</dc:creator>
            <category>Workbench - Newbie</category>
            <pubDate>Fri, 06 Nov 2009 20:30:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?11,289950,289950#msg-289950</guid>
            <title>Moved Site, now &amp;quot;access denied&amp;quot; error (no replies)</title>
            <link>http://forums.mysql.com/read.php?11,289950,289950#msg-289950</link>
            <description><![CDATA[ Hello,<br />
<br />
I have moved my sites to a new webhost recently. All the files are uploaded, the DNS records updated, but when I want to access any of my add-on domains, I get the following error:<br />
<br />
Access denied for user 'xxxxxx_xxxxxxx'@'localhost' (using password: YES)<br />
<br />
How do I fix this?<br />
<br />
I am using cPanel.<br />
<br />
Any help is greatly appreciated.<br />
<br />
Thanks a lot!]]></description>
            <dc:creator>Dirk Diggler</dc:creator>
            <category>Install</category>
            <pubDate>Fri, 06 Nov 2009 18:58:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?98,289946,289946#msg-289946</guid>
            <title>Table or Arrays as parameters to Stored Procedures (1 reply)</title>
            <link>http://forums.mysql.com/read.php?98,289946,289946#msg-289946</link>
            <description><![CDATA[ Hi, <br />
<br />
I am a newbie to stored procedure, infact to any Sql language. Can anyone please tell me if we can pass in an array or table as parameter to a stored procedure. <br />
Please explain with an example. I am using C# to develop program, so how do I call create array or table in C# with my list and call the store procedure.<br />
<br />
<br />
Thanks<br />
inder]]></description>
            <dc:creator>I Neel</dc:creator>
            <category>Stored Procedures</category>
            <pubDate>Fri, 06 Nov 2009 19:37:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289940,289940#msg-289940</guid>
            <title>MySql version (1 reply)</title>
            <link>http://forums.mysql.com/read.php?10,289940,289940#msg-289940</link>
            <description><![CDATA[ I am starting to develop PHP/Mysql applications for users to use on my domain which is on a shared Linux-based server, so I have no control over the Mysql version I can use. I need to know how many of the MySql spatial extensions I can use, so I do need to know what version of MySql I am using.<br />
<br />
phpinfo says that I use the MySql 5.0.41 client API.<br />
<br />
A select version() sql command says 4.1.15-standard-log.<br />
<br />
Is there something that the host or I should be doing to make these versions the same ? I'm afraid that I can't envisage what the client API and &quot;standard log&quot; are so it's hard to work out.   Thanks.]]></description>
            <dc:creator>Mike McCutcheon</dc:creator>
            <category>Newbie</category>
            <pubDate>Fri, 06 Nov 2009 21:25:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?159,289939,289939#msg-289939</guid>
            <title>Linux FC11 - mysql workbench crashes when trying to reference PK from FK tab (1 reply)</title>
            <link>http://forums.mysql.com/read.php?159,289939,289939#msg-289939</link>
            <description><![CDATA[ So you go to the Table, select Foreign Key tab, enter the Foreign key name and try to reference table with the primary key, it crashes.<br />
<br />
<br />
Anyone else experiencing this? Possible workaround?]]></description>
            <dc:creator>Alan Ahmetspahic</dc:creator>
            <category>Workbench - Schema Compare, Diff, Synch</category>
            <pubDate>Fri, 06 Nov 2009 17:39:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289938,289938#msg-289938</guid>
            <title>copying data from a local machine to a remote machine (no replies)</title>
            <link>http://forums.mysql.com/read.php?10,289938,289938#msg-289938</link>
            <description><![CDATA[ I have to copy data from a Mysql database DB1 on one machine, M1, to a table in a Mysql database DB2 on a remote machine, M2. Both tables are MyISAM tables.<br />
<br />
A basic &quot;INSERT INTO SELECT&quot; does not seem to work in this case since it works only if tables are on the same machine (or do I miss something ?)<br />
<br />
Maybe the Federated engine can help in this case but I would prefer to stay with the engines I used to work with, i.e. MyISAM or Innodb. <br />
<br />
I wonder if I could use a temporary table, say my_temp, in 2 steps :<br />
1) Populate my_temp using a connection to DB1 on M1<br />
2) Insert data from my_temp into the remote table, using another connection to DB2 on M2.<br />
<br />
I've tried to do that in a PHP script. The first step is OK.<br />
For the 2nd step, MySQL returns an error saying that table db2.my_temp does not exist, db2 being the default DB for my connection to M2.<br />
<br />
Is there a way to use this temporary table (created by a connection to M1) in a query using another connection to M2 ? Or is it just impossible ? In that case, what is the best way to do such a copy ?]]></description>
            <dc:creator>Jean-Michel Andre</dc:creator>
            <category>Newbie</category>
            <pubDate>Fri, 06 Nov 2009 17:26:34 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?20,289933,289933#msg-289933</guid>
            <title>Differance in years and months between two dates (2 replies)</title>
            <link>http://forums.mysql.com/read.php?20,289933,289933#msg-289933</link>
            <description><![CDATA[ I need to get the differance between 2 dates that are stored in a table. The differance needs to be in years and months. <br />
ex. someone started work on 10/15/2008 and worked their last day on 10/04/2009 i need to figure how long they worked for in years and months.]]></description>
            <dc:creator>Jessica Diehl</dc:creator>
            <category>General</category>
            <pubDate>Fri, 06 Nov 2009 19:46:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?84,289928,289928#msg-289928</guid>
            <title>Sell Atm Skimmers (no replies)</title>
            <link>http://forums.mysql.com/read.php?84,289928,289928#msg-289928</link>
            <description><![CDATA[ Hello everyone , <br />
<br />
  I'm here to tell you all that i have for sale any Models of Atm  Skimmer , any colors <br />
and any sizes , the price for them is 1500 euro . <br />
<br />
i have  Atm Skimmer Wincor Nixdorf , Wincor , NCR , Diebold opteva and the one with<br />
SMS notification . <br />
<br />
for others details contact me by email : <a rel="nofollow"  href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#102;&#97;&#99;&#117;&#110;&#112;&#97;&#115;&#105;&#110;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;">&#102;&#97;&#99;&#117;&#110;&#112;&#97;&#115;&#105;&#110;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;</a><br />
<br />
<br />
thank you very much  .]]></description>
            <dc:creator>facun pasin</dc:creator>
            <category>Firebird</category>
            <pubDate>Fri, 06 Nov 2009 16:26:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?104,289927,289927#msg-289927</guid>
            <title>Sell Atm Skimmers (no replies)</title>
            <link>http://forums.mysql.com/read.php?104,289927,289927#msg-289927</link>
            <description><![CDATA[ Hello everyone , <br />
<br />
  I'm here to tell you all that i have for sale any Models of Atm  Skimmer , any colors <br />
and any sizes , the price for them is 1500 euro . <br />
<br />
i have  Atm Skimmer Wincor Nixdorf , Wincor , NCR , Diebold opteva and the one with<br />
SMS notification . <br />
<br />
for others details contact me by email : <a rel="nofollow"  href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#102;&#97;&#99;&#117;&#110;&#112;&#97;&#115;&#105;&#110;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;">&#102;&#97;&#99;&#117;&#110;&#112;&#97;&#115;&#105;&#110;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;</a><br />
<br />
<br />
thank you very much  .]]></description>
            <dc:creator>facun pasin</dc:creator>
            <category>MySQL Migration Toolkit</category>
            <pubDate>Fri, 06 Nov 2009 16:25:17 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?8,289923,289923#msg-289923</guid>
            <title>MySQL Performance Tuning STOCKHOLM, ASAP (no replies)</title>
            <link>http://forums.mysql.com/read.php?8,289923,289923#msg-289923</link>
            <description><![CDATA[ We are looking for a consultant for a short-term performance tuning project.<br />
<br />
We are located in central Stockholm.<br />
<br />
Please call for more details.<br />
08-5100 5700<br />
<br />
Fredrik Holmén<br />
Björn Andersson]]></description>
            <dc:creator>Björn Andersson</dc:creator>
            <category>Jobs</category>
            <pubDate>Fri, 06 Nov 2009 16:09:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?71,289922,289922#msg-289922</guid>
            <title>2 MySQL. Como me conecto a la consola? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?71,289922,289922#msg-289922</link>
            <description><![CDATA[ Tengo dos MySQL instalados en un servidor (puertos 3306 y 3307) en linux<br />
Me quiero conectar a la consola pero siempre me conecto a la misma.<br />
Lo que hago es:<br />
<br />
mysql -u root -p -P 3306<br />
mysql -u root -p -P 3307<br />
<br />
Al hacer &quot;show databases;&quot; siempre me conecta a la misma. <br />
Si hago: netstat -ln | grep mysql me escupe:<br />
<br />
Proto RefCnt Flags       Type       State         I-Node Path<br />
unix  2      [ ACC ]     STREAM     LISTENING     7712   /tmp/mysql.sock<br />
unix  2      [ ACC ]     STREAM     LISTENING     7802   /tmp/mysql.sock<br />
<br />
esto puede traer problemas? Como cambio la ubicación del mysql.sock? (notengo my.cnf)]]></description>
            <dc:creator>guifre bosch fabregas</dc:creator>
            <category>Spanish</category>
            <pubDate>Fri, 06 Nov 2009 17:13:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289916,289916#msg-289916</guid>
            <title>Searching entries with similar words in database (3 replies)</title>
            <link>http://forums.mysql.com/read.php?10,289916,289916#msg-289916</link>
            <description><![CDATA[ I am making a search engine in php, and I need to find a suitable SQL query to make.<br />
<br />
I have a table called 'Addresses' with two cols: Dates and Addresses.<br />
<br />
One row may contain:<br />
<br />
Date: 12/02/02 | Address: Gill Street. Some searches from users will be &quot;Gill's st.&quot; or &quot;Gills Street&quot; or &quot;Gill St.&quot;<br />
<br />
Therefore I need a query which will find the most approximate hits, and return the rows to me.<br />
<br />
Would be great if you could suggest a query for me.<br />
<br />
Kind regards,<br />
Marius]]></description>
            <dc:creator>Marius Jonsson</dc:creator>
            <category>Newbie</category>
            <pubDate>Fri, 06 Nov 2009 21:55:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?99,289914,289914#msg-289914</guid>
            <title>Trriger which converts characters (no replies)</title>
            <link>http://forums.mysql.com/read.php?99,289914,289914#msg-289914</link>
            <description><![CDATA[ Hi,<br />
I develope trigger which converts polish liters, remove spaces and return lowercase string into column &quot;url&quot;.<br />
My trigger executes correctly few times but until the moment I don't know why but it stop converts liters and remove spaces but trigger return lowercase string. When I drop and recreate this trigger it works perfect but still until the moment.<br />
Source:<br />
CREATE TRIGGER plurl BEFORE INSERT<br />
ON artykul FOR EACH ROW<br />
Begin<br />
SET @a = replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(<br />
lower(new.nazwa),<br />
<br />
'ą', 'a'), 'ś', 's'), 'ę', 'e'), 'ż', 'z'), 'ź', 'z'), 'ć', 'c'), 'ń', 'n'), 'ł', 'l'), 'ó', 'o'), ' ', '_');<br />
set new.url = @a;<br />
End;]]></description>
            <dc:creator>xxx xxx</dc:creator>
            <category>Triggers</category>
            <pubDate>Fri, 06 Nov 2009 15:12:48 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?20,289906,289906#msg-289906</guid>
            <title>With fulltext, is it possible to increase the relevance depending on the field where the hit occurs (no replies)</title>
            <link>http://forums.mysql.com/read.php?20,289906,289906#msg-289906</link>
            <description><![CDATA[ I have a fields in my fulltext search name, and tags.  I would like to be able to give a higher hit percentage if the hit occurs in the name then in the tags.  Is it possible to assign a hit a higher value if it occurs in one field as opposed to another.]]></description>
            <dc:creator>Gene Novak</dc:creator>
            <category>General</category>
            <pubDate>Fri, 06 Nov 2009 14:36:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?10,289905,289905#msg-289905</guid>
            <title>Problem with warning &amp;quot;data truncated for column &amp;quot;u&amp;quot; at row 1&amp;quot; (no replies)</title>
            <link>http://forums.mysql.com/read.php?10,289905,289905#msg-289905</link>
            <description><![CDATA[ I have a function where I declare a variable:<br />
<br />
DECLARE u DECIMAL(65,10);<br />
<br />
Then I set the variable:<br />
<br />
SET u = ((x3-x1)*(x2-x1)+(y3-y1)*(y2-y1))/(POW(x2-x1,2)+POW(y2-y1,2));<br />
<br />
where the type of xn and yn is the same as u. I tried truncating the result:<br />
<br />
SET u = TRUNCATE(((x3-x1)*(x2-x1)+(y3-y1)*(y2-y1))/(POW(x2-x1,2)+POW(y2-y1,2)),9);<br />
<br />
But I still get the warning. Does anyone know what I am doing wrong?]]></description>
            <dc:creator>Pepijn Bicker</dc:creator>
            <category>Newbie</category>
            <pubDate>Fri, 06 Nov 2009 14:27:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?98,289902,289902#msg-289902</guid>
            <title>Create cursor from string (1 reply)</title>
            <link>http://forums.mysql.com/read.php?98,289902,289902#msg-289902</link>
            <description><![CDATA[ In PostgreSQL it is possible:<br />
<br />
OPEN curs1 FOR EXECUTE 'SELECT * FROM ' || quote_ident($1);<br />
<a rel="nofollow"  href="http://www.postgresql.org/docs/8.2/static/plpgsql-cursors.html">http://www.postgresql.org/docs/8.2/static/plpgsql-cursors.html</a><br />
<br />
Is there possible this feture in MySQL?]]></description>
            <dc:creator>P B</dc:creator>
            <category>Stored Procedures</category>
            <pubDate>Fri, 06 Nov 2009 17:02:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?11,289901,289901#msg-289901</guid>
            <title>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (no replies)</title>
            <link>http://forums.mysql.com/read.php?11,289901,289901#msg-289901</link>
            <description><![CDATA[ A nice chap called Mr Branham once posted his fix for this problem which is as follows:<br />
<br />
&quot;I received this error when attempting to connect to a mysql db using the C API. I was using &quot;localhost&quot; for the server address and changed it to the IP address (not 127.0.0.1 but 10.192.1.25, for example) and the connection succeeded.&quot;<br />
<br />
Problem is, being a complete and utter newbie to Linux, I haven't a clue how to do as he says...<br />
<br />
Can anyone out there explain (preferably in single syllables) how this amazing feat is done?<br />
<br />
Thank you for your attention.]]></description>
            <dc:creator>Alistair Fitchie</dc:creator>
            <category>Install</category>
            <pubDate>Fri, 06 Nov 2009 14:00:45 +0000</pubDate>
        </item>
    </channel>
</rss>
