<?xml version="1.0" encoding="windows-1252"?>
<node id="987726" title="Re^2: How to connect with remote mySQL DB" created="2012-08-16 06:03:24" updated="2012-08-16 06:03:24">
<type id="11">
note</type>
<author id="920017">
pvaldes</author>
<data>
<field name="doctext">
&lt;p&gt;I see now...&lt;/p&gt;
&lt;p&gt;Ken is right, yes, the real problem is that the line is malformed so the passed driver's name is really &lt;i&gt;mSQL//www.db4free&lt;/i&gt;, instead &lt;i&gt;mSQL&lt;/i&gt; trying to connect to "http://www.db4free". Try with:&lt;/p&gt;

&lt;c&gt;#!/usr/bin/perl -w
use DBI;
my $dbh = DBI-&gt;connect("dbi:mysql:dbname=aghpisos;host=www.db4free","sadecki", "***");&lt;/c&gt;</field>
<field name="root_node">
987717</field>
<field name="parent_node">
987719</field>
</data>
</node>
