<div>hi,I</div> <div>I would like to ask for help on making a connection to a remote database. My app is working good with localhost, now I move it to another server and create a connection, I thought just change the config of the myApp.pm. But I could not make the connection.</div> <div> </div> <div>this is my connection to the local db:</div> <div> </div> <div>__PACKAGE__->config(<BR> schema_class => 'testDB',<BR> connect_info => [<BR> 'dbi:mysql:myapp',<BR> 'root',<BR> 'test',<BR> { AutoCommit => 1 },<BR> <BR> ],<BR>);</div> <div> </div> <div>---------</div> <div>my new host name is: 192.168.2.115</div> <div> </div> <div>OR, how could I create a DB schema model which
points to that remote server, where can I insert in the string:</div> <div> </div> <div><BR>model myappDB DBIC::Schema myappDB dbi:mysql:myapp 'root' 'test' '{ AutoCommit => 1 }'</div> <div> </div> <div>Thank you</div><p> 
<hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>