Stephan Uhrenbacher is the Managing Director of Qype GmbH, the company behind the Qype.com web site, which allows users to recommend places in Germany and has developed into one of Germany?s most interesting web 2.0 applications.
The first beta version of XAMPP for Linux is available for public download in our XAMPP BETA area. New in this beta version are: Apache 2.2.3, MySQL 5.0.22, PHP 4.4.3 and phpMyAdmin 2.8.2.
Beta releases are only for testing purposes. We would very much appreciate it if you could test this release and let us know if you run into any problems.
Jay scooped me on the news but he's right - we're organizing a MySQL camp in the spirit of Barcamp.
One of the great things about living in the bay area is that that there are a lot of smart geeks here. Generally speaking, most of the smart guys in MySQL work either for MySQL AB or one of the big Web 2.0 shops like Facebook or Yahoo. This should give everyone the opportunity to leave their cubicles and share all their tricks with the whole community.
We're also going to be doing this the right way which means that we're going to expect people to lead their own sections and contribute in some way shape or form. This isn't just another top-down conference where sessions are approved by a committee.
One great piece of news is that …
[Read more]Gary Edwards (Open Document Foundation) and I were talking yesterday, and he mentioned the NASCIO (National Association of State CIOs) Conference coming up. I checked out last year's conference and found an interesting set of slides from an open source session they held.
From the slides, some useful data on why state governments are buying into open source. (Note: The survey was to CIO-level IT people within state governments. Pretty credible data, especially since NASCIO gets 350-450 senior government IT folks out to its annual conference, and restricts the survey (unless I'm reading the site wrong) to the most senior IT officials).
Anyway, why are state CIOs buying into open source? Well, for one thing, because it costs less. But also because it works better:
…
[Read more]
In a recent blog entry I discussed some research I had done
into the behavior of MySQL FEDERATED tables. Since then the
question arose in the forums regarding the use of triggers with
FEDERATED tables, so I performed some additional tests to see how
triggers would behave.
The question was asked if triggers could be used with FEDERATED
tables, and I verified that triggers could indeed be created on
FEDERATED tables. With the assertion that the a trigger on a
FEDERATED table did not actually fire, I set up a base table and
an associated FEDERATED tables with triggers attached to both
tables and verified they did in fact get called.
A 'before insert' trigger on a FEDERATED table gets called before
the corresponding 'before insert' trigger on the base table, and
this is rather what I would expect. If the FEDERATED table's
trigger …
When using LOAD DATA especially when importing from one charset
container to utf8. Make sure to issue SHOW WARNINGS after the
statement. Why? Well a cryptic message might occur and lead you
to the true cause of the problem.
For instance if you get a message:
"Data truncated for column 'column' at row 157"
Why was row 157 truncated? The data use to exist before correctly
in the table structure in the old format, what's different?
Well, in the scenario of upgrading to true utf8 column character
sets, MySQL will remove all invalid utf8 chars and produce this
message. You might be lead to believe oh crap maybe I need to
increase the column size, NO that's not it. In MySQL 4.1 varchar,
text, chars size are no longer just a function of bytes. Previous
to 4.1
varchar(255) means that it would take up to 255 bytes, i.e. 1
latin1 character 1 byte. In 4.1+ this means …
Testing the MySQL Cluster can mean a lot of typing. Not being the best typist and getting tired of typing the same thing over and over again I created a short cut to make life better.
I have a file called shortcut.sh. Inside my .bash_profile for each of my test systems, I have added this file to be run when I login.
.bash_profile example
. /home/ndb/jmiller/shortcut.sh
Then all the command and connection strings I need are just few key strokes away.
shortcut.sh
alias ndbd='/home/ndb/jmiller/builds/libexec/ndbd'
alias ndb_mgmd='/home/ndb/jmiller/builds/libexec/ndb_mgmd'
alias ndb_mgm='/home/ndb/jmiller/builds/bin/ndb_mgm'
alias mysql='/home/ndb/jmiller/builds/bin/mysql'
alias mysql_server='/etc/init.d/mysql.server'
alias ndb_restore='/home/ndb/jmiller/builds/bin/ndb_restore'
alias mysqldump='/home/ndb/jmiller/builds/bin/mysqldump'
…
[Read more]With a title like "Why Google and Yahoo! can't be better open source citizens" one might think that our companies were squeezing as much as possible out of the open source world and giving little back.
But after reading Matt Assay's post a few times, I've begun to wonder how much open source code he's been publishing.
Putting aside the many contributions that Yahoo and Google have already made to various open source projects (Linux, FreeBSD, Perl, MySQL, PHP, etc.), I'd like to debunk his conclusion:
All of which means, as Tim pointed out, that these companies have failed to write code according to a cardinal open source principle: modularity. Yahoo! and Google can't open source more code because their code is too tightly bound together - layer upon layer upon layer requiring layer upon layer upon layer. This …
[Read more]
The utf8 spec says that a utf8 character can take up to 4 bytes,
mySQL currently only supports up to 3 bytes. So, in essence if
your application allowed 255 characters to be inserted into a
field, when in utf8 land ie a utf8 column these 255 characters
can take up to 765 bytes.
Here is a breakdown from
dev.mysql.com
-
- Basic Latin letters, digits, and punctuation signs use one
byte.
- Most European and Middle East script letters fit into a
two-byte sequence: extended Latin letters (with tilde, macron,
acute, grave and other accents), Cyrillic, Greek, Armenian,
Hebrew, Arabic, Syriac, and others.
- Korean, Chinese, and Japanese ideographs use three-byte
sequences.
While implementing the first test version of SQLbusRT, I faced a
problem on how to communicate SQL requests and query results
using ORTE as a medium.
Usually when doing an SQL request, a connection is set up between
a client and an SQL server. The client sends its SQL request over
this connection, and as an answer it receives the query results
over the same channel. Unfortunately, in the bus architecture I
have in mind things aren't that simple...
Remind the fact that SQLbusRT is built on top of a
publish/subscribe model. Ideally speaking clients should be
subscribers, and the database server should be a publisher.
However, this introduces a problem for both instances:
- How does the publisher know what to publish?
- What should the subscriber subscribe to?
I already thought of a solution before I started implementing. This solution was even visible in my diagrams (see my …
[Read more]