Site NavigationDisclaimerCategoriesSyndicate This Blog |
Entries tagged as programmingRelated tags backup administration blog bzr cluster code collaborating community conference configuration contributing databases development distribution drizzle drupal encryption event froscon gallery hardware hint hosting innodb linux logging lvm mailinglist multimedia mylvmbackup mysql news opensolaris opensource OSS packaging perl php pictures presentation python rpm site news slides snapshots snmp solaris storage subversion suse sysadmin thinkpad tools travel university update utility web webinar zfs betatest appliance cmake compiling connector drivers engine forge gis gui installation internals opengis oss plugins spatial studio sun virtualbox virtualization xen bindings languages article containers deutsch fisl jobs life linuxtag oracle personal planetmysql rss seminar Site News twitter writings codebits concert eclipse fosdem git intellij java meeting mercurial netbeans opensqlcamp scm social vacation cms errors groupware osx wiki windows doag ukoug video award bof book contributions gsoc guug highavailability interview lamp licensing Linux MySQL openoffice patches porting proxy recording schwag sfd streaming survey usergroup voting work amoocon baby brazil camera captcha cebit documentation embedded falcon free ioug linuxcon magazines ocfs2 openworld OS/2 oscon RPM spam trademarks flightgear simulation gardening Personal Hardware oow bios email trackball tweak ubuntu bdb sqlite btrfs otn workshop hotplug review security shell VoIP boox certification ebook epub manualThursday, May 8. 2014GUUG Frühjahrsfachgespräch 2014: CfP ends on May 31st!The German Unix User Group (GUUG) will hold their annual conference "Frühjahrsfachgespräch" on September 23-26 this year (I know, not really "Frühjahr" anymore, but this is how it is). The Call for Presentations is still open until May 31st. Talks can be proposed in German and English, and there are slots for longer tutorials as well. The range of possible topics is broad, so if you think you have anything interesting to share with a very passionate and technical audience of sysadmins and developers, here are some suggestions:
This year, I'm honoured to be part of the reviewing committee and we've received a number of interesting proposals already. But we'd like to see more! So please don't hesitate and submit your proposal now! Thank you.
Posted by Lenz Grimmer
in Linux, MySQL, OSS
at
09:52
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: collaborating, community, conference, contributing, databases, development, guug, Hardware, highavailability, lamp, licensing, linux, mysql, opensource, OSS, presentation, programming, social, usergroup
Wednesday, December 15. 2010MySQL 5.5: CMake replaces autoconf/automake on all platforms, support for autotools has now been removed![]() There has been a lot of buzz about the MySQL 5.5 GA release and its new features and other user-visible improvements. In this blog post, I'd like to touch on a less noticeable, but still important change. CMake has already been used to build the MySQL Server on Windows for a long time, while the GNU autotools were used on all other platforms. Since MySQL 5.5, all builds on all platforms are now performed using the same tool chain. With the latest release of MySQL 5.5, we've made an important step to clean up and simplify the MySQL build system: the support for autoconf/automake has now been removed completely. We've been performing the release builds of MySQL 5.5 using CMake exclusively for quite some time already. It became obvious that maintaining two separate build systems simply had become too much of a burden for our engineers, especially since the autotools-based builds were no longer exhaustively tested. This change was outlined in WorkLog#5665 - Removal of the autotools-based build system. We've made this step in close cooperation with our community of packagers (e.g. the maintainers of MySQL packages on the various Linux distributions). By moving to CMake, we are giving our developers one common build mechanism for all platforms and there is a lot of new useful functionality such as out-of-source builds or a GUI for configuring the build options. And they can now build MySQL in the very same way that we do it for our own binaries! I've covered the advantages in my previous blog post about Building MySQL Server with CMake on Linux/Unix already. We've also created a general article about CMake and MySQL as well as an Autotools to CMake Transition Guide on the MySQL Forge Wiki. The description of the source build process in the reference manual has also been updated to reflect this change. A big “thank you” should to go to Vladislav Vaintroub and Davi Arnaut for implementing and pushing the transition to CMake forward, and to Paul DuBois for creating and improving the documentation! Wearing my former build and release engineer hat, I am very happy about this change. Other CMake-related articles that are worth reading:
Wednesday, March 3. 2010Building MySQL Server with CMake on Linux/UnixCMake is a cross-platform, open-source build system, maintained by Kitware, Inc. From the CMake.org home page: CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. It has been used for building the MySQL Server on Windows since MySQL 5.0 – the initial CMake build support was added in August 2006. For building MySQL on all other platforms, the GNU autotools (autoconf, automake and libtool) are currently being used. CMake is used in some other MySQL projects as well, e.g. On February 22nd, Vladislav Vaintroub pushed the changes required to implement WorkLog#5161 "CMake-based unified build system" into the "mysql-next-mr" branch (aka the "Celosia" mile stone). From this version on, CMake can also be used to build MySQL on Linux and other Unix platforms. For the time being, the autoconf/automake files are still available as well, but will be phased out once the CMake build enviroment has reached the desired level of maturity. The change was announced on February 28th on our "internals" developer discussion list. The purpose of WL#5161 is to simplify the MySQL build system. It is much easier and less error-prone to maintain a unified build system for all platforms than two separate ones. CMake has been chosen because of several reasons; the worklog description lists a few pro-CMake arguments (slightly rephrased):
I'd like to mention a few additional reasons:
The CMake Wiki lists a number of other "nice to have" features. From a developer perspective, I hope that it will make it much easier to finally implement two things that many developers working with MySQL have been waiting for (now that the build code has been cleaned up):
Building MySQL with CMake is quite simple and straighforward – the process is outlined on the MySQL Forge Wiki. The document is still work in progress and we'd like to encourage you to take a look at it, try to follow the steps and update/improve the Wiki page, if needed! Your feedback on the build process is appreciated. Feel free to join our internals mailing list to discuss your impressions and observations or submit a bug report via the Bug Database. It's likely that the build still has a few rough edges that we'd like to fix quickly (e.g. BUG#51502 – a fix for this one is already commited to the mysql-next-mr-bugfixing source tree and will be merged into the mysql-next-mr trunk soon). If you're new to CMake, you might want to take a look at the "Getting Started With CMake (An End-User's Perspective) For Cross-Platform Building" screencast or the "Running CMake" article. Happy hacking!
Posted by Lenz Grimmer
in Linux, MySQL, OSS
at
12:49
| Comments (2)
| Trackbacks (0)
Defined tags for this entry: betatest, cmake, code, collaborating, compiling, configuration, development, forge, gui, installation, internals, linux, mysql, oss, packaging, programming
Monday, December 7. 2009Back from SAPO Codebits in Lisbon - a summaryLast week, my colleagues Giuseppe, Kai and myself attended the SAPO Codebits event in Lisbon, Portugal. Codebits is an annual, invite-only hacking event, which went on for three days. The venue they chose this year was the "Cordoaria", a former rope factory located in the Belém district, close to the 25 de Abril Bridge (which is an impressive sight!). I have been told that the Cordoaria is the longest building in Portugal and I have no doubts about that! The building is so long that the crew used bicycles to get from one end to the other. I've taken a number of pictures from the event as well as from Lisbon itself, you can find them in this flickr set. The organizers described this year's event as follows: 3 days. 24 hours a day. 600 attendees. Talks. Workshops. Lots of food and beverages. 24 hour programming/hacking competition. Quizz Show. Rock Band Contest. Lots of gaming consoles. More food. More beverages. More coding. Sleeping areas. More fun. An unforgettable experience. I wholeheartedly agree, we had a great time! The conference started with sessions and presentations on a wide range of topics on the first two days. Afterwards, a 24-hour programming contest was held. I was invited to give two talks, one being my all-time favourite about "MySQL High Availability solutions" (slides, video), the other one was titled "Why you should be using a distributed version control system (DVCS) for your project" (video, slides). Both went quite well and the feedback I received was pretty positive. Giuseppe talked about "MySQL Schema Migration" (slides, video) and gave an "Introduction to Gearman" (video). Kai's talk was titled "Think before you develop" (video) and gave a nice roundup of tips and best practices for setting up and developing new web projects. The Codebits session schedule was filled with amazing and interesting talks in four parallel tracks. Sometimes it was hard to choose – some other talks I attended and enjoyed:
Walter gave a lockpicking workshop after his presentation, which I attended as well. I was quite impressed (and a bit shocked) to find out how easy many locks can be opened this way! Later that evening there even was a live band named "Pornophonique" playing (one guy with a guitar, the other one using an Nintendo Game Boy for making music), but I missed that show as I was too busy opening more locks... Fortunately the concert and most of the sessions were recorded on video (in excellent quality) and are already available from the SAPO video pages. Kudos for this speedy service! But this just matches my overall conclusion of this event: very well organized, great speakers and venue. Thanks to the organizers for having us, we really enjoyed our stay!
Posted by Lenz Grimmer
in Linux, MySQL, OSS
at
15:39
| Comments (2)
| Trackbacks (0)
Defined tags for this entry: bzr, codebits, collaborating, community, concert, conference, development, event, git, mercurial, mysql, oss, pictures, presentation, programming, slides, social, subversion, sun, travel, web
Thursday, November 5. 2009Aspects and benefits of distributed version control systems (DVCS)This blog post is a by-product of my preparation work for an upcoming talk titled "Why you should be using a distributed version control system (DVCS) for your project" at SAPO Codebits in Lisbon (December 3-5, 2009). Publishing these thoughts prior to the conference serves two purposes: getting some peer review on my findings and acting as a teaser for the actual talk. So please let me know — did I cover the relevant aspects or did I miss anything? What's your take on DVCS vs. the centralized approach? Why do you prefer one over the other? I'm looking forward to your comments! Even though there are several distributed alternatives available for some years now (with Bazaar, git and Mercurial being the most prominent representatives here), many large and popular Open Source projects still use centralized systems like Subversion or even CVS to maintain their source code. While Subversion has eased some of the pains of CVS (e.g. better remote access, renaming/moving of files and directories, easy branching), the centralized approach by itself poses some disadvantages compared to distributed systems. So what are these? Let me give you a few examples of the limitations that a centralized system like Subversion has and how these affect the possible workflows and development practices. Continue reading "Aspects and benefits of distributed version control systems (DVCS)"
Posted by Lenz Grimmer
in Linux, mylvmbackup, MySQL, OSS
at
22:49
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: bzr, code, codebits, collaborating, community, contributing, development, drupal, git, mercurial, mylvmbackup, mysql, oss, programming, scm, social, subversion
Friday, October 16. 2009IntelliJ IDEA Open SourcedWith IntelliJ now being available under an Open Source license, developers have another option to choose from when it comes to Java-based IDEs/Frameworks (Eclipse and NetBeans being the other two prominent ones). Choice is always good, and being an Open Source enthusiast, I of course welcome JetBrain's move! However, as I'm not really a heavy GUI-based IDE user myself, I can't really comment on which one is the best. These kind of discussions tend to turn into a Holy War anyway... In the end it's likely that each of them gets the job done and you have to come to your own conclusions, based on your personal preference and requirements. I personally would be interested in seeing how their support for PHP or Python compares to the one in NetBeans. Their plugin repository lists more that 560 plugins, including many for database connectivity/modeling/navigation (incl. support for MySQL). I'm also glad to see that they have a plugin for Bazaar, something that I'm desperately missing from NetBeans! Interestingly, they decided to keep a few parts proprietary, it's going to be interesting to see how this will turn out for them and if developers will be willing to pay for these extra features, considering that most of this is available for free from the other two projects. Their Contributor License Agreement looks like it has been derived from the Sun Contributor Agreement (SCA), which is always nice to see. I assume this can be attributed to Roman Strobl - I was positively surprised to notice that he joined their team as a technology evangelist in June! Roman did a great job in spreading the NetBeans and OpenSolaris gospel at Sun before and I briefly met him at this year's FOSDEM conference in Brussels. Congratulations!
Posted by Lenz Grimmer
in Linux, MySQL, OSS, Solaris
at
16:24
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: bzr, databases, development, eclipse, intellij, java, netbeans, opensolaris, oss, php, programming, python
Tuesday, August 18. 2009More MySQL connectorsSome time ago I posted a compilation of applications and programming languages that provide an API to connect to the MySQL Server. As it turned out, I forgot a few that I would like to mention here:
Do you know of any other MySQL Connectors/APIs? Let me know! ![]() Monday, June 29. 2009Embedded InnoDB 1.0.3.5325 RPM packagesShortly after I created the initial packages of embedded InnoDB on the OpenSUSE Build Service, Oracle/Innobase released an updated version (1.0.3.5325). In addition to many improvements and bug fixes, they slightly changed the versioning scheme to better indicate what version of the InnodDB plugin their code is based on (see Vasil's posting on the InnoDB Forums for more information). I've now updated my InnoDB packages on the Build Service to this version as well - please note that the naming scheme of the shared library package has been changed from "embedded_innodb1" to "libinnodb2" — RPM will take care of replacing the old package during update, even though the name has changed. Saturday, June 20. 2009mylvmbackup-0.12 has been releasedAfter a long hiatus, I am happy to announce that mylvmbackup version 0.12 has now been released. This release includes a large number of improvements, minor code cleanups, as well as some new functionality. In particular, I would like to thank Matthew Boehm, Tim Stoop, Baron Schwartz, Ville Skyttä and Ronald Bradford for their contributions. Some notable highlights from the ChangeLog:
Posted by Lenz Grimmer
in Linux, mylvmbackup, MySQL, OSS
at
14:35
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: backup, collaborating, community, innodb, linux, lvm, mylvmbackup, mysql, perl, programming, snapshots, update
Tuesday, March 3. 2009New alpha release of MySQL Connector/C++Version 1.0.3-alpha of the MySQL Connector/C++ has just been announced by Lawrin Novitsky and is now available for download. This driver is licensed under the GPL and is a new implementation of the MySQL Client/Server protocol. Instead of wrapping the C API calls in C++ methods, the implementation mimics the JDBC API, which hopefully feels much more "native" to a seasoned C++ developer. The driver has been ported to a wide range of platforms and is about to hit the beta test phase. So if you're writing a C++ application that needs to connect to a MySQL Server, give it a try! The developers are always looking for feedback. More information and examples on how to use it can be found on this detailed Wiki page on the MySQL Forge.
Posted by Lenz Grimmer
in MySQL, OSS
at
13:11
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: betatest, collaborating, community, connector, mysql, programming, update
Monday, December 1. 2008mylvmbackup-0.11 has been releasedSome days ago, I released version 0.11 of mylvmbackup a Perl script that performs consistent backups of a MySQL server by using LVM filesystem snapshots. The source archive as well as a generic RPM can be found on the project home page, packages for many Linux distributions are available on the openSUSE Build service. This release includes some new functionality as well as numerous bug fixes and improvements, most notably:
I would like to thank all the contributors for their support! More details about the changes in this release, directly from the ChangeLog:
Enjoy!
Posted by Lenz Grimmer
in Linux, mylvmbackup, MySQL, OSS
at
23:24
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: backup, collaborating, community, contributing, databases, linux, lvm, mylvmbackup, mysql, OSS, perl, programming, snapshots, update
Tuesday, September 16. 2008PlanetMySQL Update: Goodbye, MagpieRSS, hello SimplePie!
This will provide better support for a wider range of feed types and should also fix a few quirks, e.g. that some postings (for example the one from Kevin Burton) only showed up as an "A" in the Planet's RSS feed. It hopefully also fixes a weirdness with time zones that some people were reporting, but this requires further investigation. The size and complexity of the script was reduced significantly because of this change - SimplePie is a breeze to use in comparison to MagpieRSS and it's very well-documented. The developers provide some more reasons and a comparison on why you should also make this switch! And in case you notice anything broken or weird on PlanetMySQL that might be related to the change, please let me know! This change was an important step for future improvements of the site. Wednesday, September 10. 2008MySQL University Session tomorrow: OpenSolaris Web Stack
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 OpenSolaris Web Stack: OpenSolaris Web Stack is an OpenSolaris project and community building an integrated stack of popular open source web tier infrastructure technologies such as Apache HTTP server, MySQL, memcached, PHP and Ruby On Rails optimized for Solaris platform. This session introduces OpenSolaris Web Stack, its status and future development including addition of newer technologies such as lighttpd, Varnish etc., as well as the ease of use features for developers and deployers. We will also be discussing an experimental web stack IPS package repository and it could be leveraged to build and make available popular end user applications such as Drupal. MySQL University sessions are free to attend - all you need is an IRC client (to post your questions and comments) and an audio player capable of playing back an OGG audio stream, so you can listen to what is being said. See the Instructions for Attendees on the MySQL University pages for more information on how to log in and attend. The audio stream will be recorded and published on the MySQL University pages for later consumption, in case you can't make it or want to listen to a previous session.
Posted by Lenz Grimmer
in Linux, MySQL, OSS
at
12:08
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: collaborating, community, distribution, drupal, mysql, opensolaris, oss, perl, php, presentation, programming, university, web
Thursday, September 4. 2008New database layer in Drupal 7 to support replication, PDO and SQLiteOne of the sessions at DrupalCon I attended was Larry Garfield's talk about "Drupal Databases: The Next Generation", which gave me a good insight into the current state of the Drupal database layer and how they plan to overhaul it for Drupal 7. The key points that I took away:
The slides and a video of the presentation are available, if you want to check it out. There is a task list on the Drupal.org web site that keeps track of the ongoing activities.
Posted by Lenz Grimmer
in MySQL, OSS
at
15:00
| Comment (1)
| Trackbacks (0)
Defined tags for this entry: community, databases, development, drivers, drupal, php, presentation, programming
Tuesday, August 19. 2008The key to accessing your data: MySQL Connectors and bindings for various languagesBeing able to use an Open Source DBMS to manage your data is nice, but what good would it be if you can't easily access it from your applications? One key factor to the popularity of MySQL is probably its wide range of available language bindings, which started with support for C, PHP and Perl from early on. I've tried to gather a list of languages and their respective MySQL drivers/modules below. It's by no means complete or exhaustive, but I think I covered quite a lot of popular as well as exotic programming languages. There is a number of connectors which are actually developed by the Sun Database Group (aka MySQL) itself and that are ready to use:
In addition to the above, there are several other connectors developed by Sun/MySQL, which are still under development:
But it's not only us who develop language bindings for the MySQL server. There is an abundance of drivers that are developed and maintained by the Community, independently from Sun/MySQL (but sometimes with support or guidance from MySQL engineers). The list below is not sorted in any particular order other than the sequence in how I found them over time:
I probably forgot some other drivers/bindings - if you have any more to add, please let me know! And if you'd like to create your own implementation for your favourite language: the protocol is documented here and here. Jan's additional notes may also be helpful to get you started.
Posted by Lenz Grimmer
in MySQL, OSS
at
16:31
| Comments (0)
| Trackback (1)
Defined tags for this entry: bindings, collaborating, community, development, drivers, languages, mysql, programming
(Page 1 of 1, totaling 15 entries)
|
QuicksearchCalendar
Show tagged entriesCreative Commons |