Would it be acceptable to make a looser permit for host access? e.g. allow XXX.YYY.ZZZ.* to connect (i assume the client IP is changing w/in some given range) .. you still have the protection on top of that of a username/password to provide access to the db, right?

quick idea off the top of my head -- you could install http://www.phpmyadmin.net or http://www.phpmyedit.org and then hit them with WWW::Mechanize to submit changes .. essentially the same model you just proposed but a lot more powerful and you don't have to deal with the lower db stuff..

Another way would be to use http://www.dyndns.com (or similiar) service to give the client a static hostname (even though the IP is dynamic) .. then you can either restrict mysql host access by name (not sure offhand if it works that way or requires IP; if requires IP then you can setup a cronjob on the server to check for IP changes for that hostname and update the mysql host access setting)

Update: i'll second jhourcle's SSH tunnel suggestion as another possibility (i've actually done that several times to connect to a remote db--shoulda mentioned it myself)

In reply to Re: Sending Storable strings over http by davidrw
in thread Sending Storable strings over http by cormanaz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.