SVN and mySQL Networking

Two projects I’m stuck on as Friday draws to a close…

First off, importing the GG site into my new subversion repository craps out when it gets to a particular folder:


Adding /some/path/parks/index.shtml
Adding /some/path/parks/learn.html
Adding /some/path/parks/flash
svn: Valid UTF-8 data
(hex: 2e 5f 50 6c 61 74 65 6c 65 74)
followed by invalid UTF-8 sequence
(hex: 99)

flash is a directory that contains one .fla file, one .swf file and a font directory called Platelet? (yup, with a question mark. I have some ideas about why it is crapping out, but nothing solid. I’d really like me some version control.

[update:] I couldn’t post this without trying a few more tidbits. There was a hidden file (some OSX detritus) that contained an extended character. So that is solved.

Also, (perhaps I’ll fix this before I finish blogging, too) I’m puzzling over the right way to enable remote access to mysql. Along with my fancy pants version control, I’d really like to periodically make a copy of the live database. Or to periodically update my local copy of the database with newer data. Something like that. It is a one way transaction. My options, as I see it, are: mysqldump, mysqlhotcopy and replication

Replication seems excessive, but I could be missing something.

I think hot copy is all I need, but I’m now confronted with the secret truth: I’ve never setup a mysql server before. Not properly anyhow. I don’t know where the settings hide that I need to make mysql accessible over the big bad internets, via a domain name. I don’t know exactly how to do that securely (limit connections by originating IP address?).

I know that I need to change the bind-address setting, but …
* I only want to allow connections from a finite number of IP addresses, and
* I’d like to limit the users who can connect remotely.

[update]: that was actually really easy, too. As it turns out, mysql was already accepting some external connections. The rest is just a matter of GRANT syntax.

Leave a comment