Do I have to have mysql even if I'm only accessing a database on a remote server?

Yes and no.

MySQL comes in two parts: the actual database (the server stuff, also known as the backend), and the aforementioned <q>client stuff</q>, which provides an interface (a basic commandline interface, but also an API for other programs, I think). The client talks to the server either on the same system (localhost) or a different system.

So you don't need the server-side MySQL daemon on your PC, but you do need the client portions.

Have I unzipped cygwin-1.3.9-1.tar.bz2 in the wrong place.

Maybe. Is there any documentation? Downloads the file and checks... Hmmm... despite the pathname in the URI, I don't see anything MySQL-related in that tarball. Looks like a (very stripped-down) cygwin root directory tree to me. Google turns up this and of course this, among other things.

Also note that the MySQL server you are accessing has to be set up to allow you to access it remotely. Permissions in MySQL can be granted to a user only when connecting from a certain host (e.g., localhost).


for(unpack("C*",'GGGG?GGGG?O__\?WccW?{GCw?Wcc{?Wcc~?Wcc{?~cc' .'W?')){$j=$_-63;++$a;for$p(0..7){$h[$p][$a]=$j%2;$j/=2}}for$ p(0..7){for$a(1..45){$_=($h[$p-1][$a])?'#':' ';print}print$/}

Posted by jonadab. I'm having trouble with Perlmonks automagically logging me out tonight whenever I post, so if this comes out as anonymous... it's not my fault. There are messages in the sidebar as I write this that say I've got replies...

In reply to Re: Mysql problem on Cygwin by jonadab
in thread Mysql problem on Cygwin by Anonymous Monk

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.