I just uploaded one of my chapters in my book "Developing Web
Applications using Perl, Memcached, MySQL and Apache" (Wiley).
This was the 50% point. Man, this is a ton of work. Writing a
book really takes up every second of your life, which is really
hard when there are other projects you maintain - namely
DBD::mysql, Memcached UDFs, FederatedX and my interest in helping
with Drizzle. I've tried as much as possible to use my projects
as material for the book making it possible to do two things at
once, as well as make it interesting to write.
It's harder to write on reference material and explaining basic
concepts than it is to write about code examples. The code
examples I really enjoy because they are first interesting, and
secondly there are some tricks and code functionality
(particularly with Perl, DBI, stored procedures, etc) that I have
never tried out before despite having been writing code for many
years, that this book has …
I'm pleased to announce the release of DBD::mysql 4.009! A couple
fixes are included with this release:
* Fix to re-enable TAKE_IMP_DATA_VERSION. Still have to ensure
DBI version 1.607 or higher in the test suite (Daniel Frett,
myself)
* Fix to escaped single quotes throwing off bind param detection.
Patch from Zhurs (zhurs@yandex.ru -- Spasibo!), new test modified
to use Test::More (myself)
Thanks/Spasibo for the help from Daniel Frett and Zhurs as well
as all those who report bugs!
The file:
The uploaded file
DBD-mysql-4.009.tar.gz
has entered CPAN as
file: $CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.009.tar.gz
size: 125168 bytes
md5: 1115dcc2560191bfaed09baf6aa7e183
Found at:
…
Yesterday evening, a friend of mine had some issues with
installing DBD::mysql, and asked if I had encountered the same
issue. The problem, as the output from make test
showed, was that certain symbols was missing:
# Tried to use 'DBD::mysql'. # Error: Can't load '/Users/westerlund/src/perl/DBD-mysql-4.008/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/westerlund/src/perl/DBD-mysql-4.008/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Symbol not found: _is_prefix
Fair enough, this is related to a 64-bit issue with MySQL—at least with my Perl version, which is now:
Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=darwin, osvers=9.5.0, archname=darwin-thread-multi-64int-2level
If you try to link to a x86_64 version of MySQL, then you get the above mentioned error. So, I downloaded an x86 version of MySQL and tried again. The …
[Read more]I am happy to announce that mylvmbackup version 0.10 has been released.
You can download the updated package from the project home page or via the openSUSE Build Service.
This version fixes some bugs and includes new functionality:
- Applied patch from Marc Haber: added option --keep_snapshot that will skip the removal of the backup snapshot before terminating the script. Providing the option --backuptype=none will now skip creating a backup using the builtin backup modules. Both options provide more flexibility when using hooks for performing the actual backup tasks or when the snapshot is considered to be the actual backup.
- Added two new hooks: "backupsuccess" and "backupfailure" which are called respectively upon success of failure of the backup operation (Bug #264089) …
I am happy to announce that mylvmbackup version 0.10 has been released.
You can download the updated package from the project home page or via the openSUSE Build Service.
This version fixes some bugs and includes new functionality:
- Applied patch from Marc Haber: added option --keep_snapshot that will skip the removal of the backup snapshot before terminating the script. Providing the option --backuptype=none will now skip creating a backup using the builtin backup modules. Both options provide more flexibility when using hooks for performing the actual backup tasks or when the snapshot is considered to be the actual backup.
- Added two new hooks: "backupsuccess" and "backupfailure" which are called respectively upon success of failure of the backup operation (Bug #264089) …
Download Maatkit
There’s a new release with a lot of goodies — speed, efficiency, user-friendliness, and new features. In particular some of Percona’s clients have sponsored features for things they need such as the ability to more frequently verify that slaves are in sync with their masters. If you need features, please ask Percona [...]
I have merged the code from the mysql-5.1 launchpad repository which should put this repository up to the recent 5.1.28-rc version. You can examine the source repository here.On a related note, had a brief email exchange with Eric Herman and so I hope that there will be time for him to do some work to complete the support for Java stored routines.
Here's a question I posted to the DBI as well as mod_perl mailing
list that I thought would be also a good question to ask
here:
Hi all,
I'm currently working on... of all things, a book on book about
web app programming with Perl/Apache/MySQL, and I'm trying to
explain what Ubuntu packages to use for installation (and I'm
sure other Linux variants same applies)
Ubuntu gives you:
apache2-mpm-prefork
apache2-prefork-dev
apache2-mpm-worker
apache2-threaded-dev
I've used both prefork and worker (as of late, due to concerns
with perl and threads), both of which seem to work fine. Though,
the DBI documentation warns of caveats of using threaded,
especially if the client is not thread safe (I always compile
mysql with a thread-safe client, and DBD::mysql against that
thread safe client).
So... I'm trying to decide if I should explain
…
Tomorrow (Thursday, 11th of September) at 9:00 PST/16:00 UTC/17:00 GMT/18:00 CET, there will be an new free MySQL University Session. MySQL University started as an internal training program for MySQL engineers, to share and spread knowledge about their areas of expertise and has been available to the public for quite some time now. It covers a wide range of technical topics around the MySQL Server and usually takes place once per week.
For the first time, the presentation will not be performed by (former) MySQL employees/developers, but by two of our "Sun Classic" colleagues: Jyri Virkki (OpenSolaris Web Stack community lead) and Murthy Chintalapati (Sr Engineering Manager, Web Stack development) will talk about the …
[Read more]I've been hacking on some Perl code that extracts data that comes from web users around the world and been stored into MySQL (with no real encoding information, of course). My goal it to generate well-formed, valid XML that can be read by another tool.
Now I'll be the first to admit that I never really took the time to like, understand, or pay much attention to all the changes in Perl's character and byte handling over the years. I'm one of those developers that, I suspect, is representative of the majority (at least in this self-centered country). I think it's all stupid and complicated and should Just Work... somehow.
But at the same time I know it's not.
Anyway, after importing lots of data I came across my first bug. Well, okay... not my first bug. My first bug related to this encoding stuff. The …
[Read more]