Showing entries 40031 to 40040 of 44146
« 10 Newer Entries | 10 Older Entries »
Case Sensitive MySQL

Today I was asked an interesting question: "Can we make MySQL to be case sensitive for SELECT queries and can we force a column in MySQL to be always lowercase?"

My response was that yes, we can have "instruct" MySQL to be case sensitive. One way to do that is to set the collation for the table (or column) to be either binary or case sensitive as shown below.

The naming convention for collation in mysql is as follows:

*_bin: represents binary case sensitive collation
*_cs: case sensitive collation
*_ci: case insensitive collation


###########
# Start binary collation example
###########
mysql> create table case_bin_test (word VARCHAR(10)) CHARACTER SET latin1 COLLATE latin1_bin;
Query OK, 0 rows affected (0.02 sec)

mysql> INSERT INTO case_bin_test VALUES ('Frank'),('Google'),('froogle'),('flickr'),('FlicKr');
Query OK, 5 rows affected (0.00 …
[Read more]
Open Source Business Model ?Ratings?

Back when I posted How “Open” Do You Have To Be To Be Open Source?, Mårten Mickos e-mailed me asking what I thought of various models of charging for open source, and how I thought they ‘rated’.

Or should we just say “whatever business model, as long as it works and users get what they want”?

Q: Why should businesses charge at all?
A: Because people work hard and deserve to get paid for that work, and folks should give up a part of their own hard-earned money because they get value out of that work.

Q: But why do we need to be paid at all?
A: There are expenses to meet — business expenses, and every employee has personal expenses.

In an ideal world, there would be a free exchange of ideas, services and goods. Unfortunately, this only works for …

[Read more]
New XAMPP 1.5.4 version for Linux and Windows

Again and again the guys from Apache, MySQL, PHP, phpMyAdmin and finally from OpenSSL surprised us over the last weeks with new releases of their software packages. Now after a very quiet week we are proud to announce our own new version containing all these new releases.

New in this version of XAMPP are: Apache (2.2.3), MySQL (5.0.24a), phpMyAdmin (2.8.2.4), PHP (4.4.4 and 5.1.6) and OpenSSL (0.9.8c).

In case of Windows we also upgraded ADOdb (4.91) and FileZilla FTP Server (0.9.18).

Download XAMPP 1.5.4 here

Question #2: Trigger on One Table To Insert Data into Another

database, mysql, routines, stored procedures, syntax, technology triggers

Question #2 from the September MySQL User Group was whether or not a TRIGGER can affect a different table. Apparently the documentation (perhaps for an earlier version??) specified this was not possible. Tom Hanlon, MySQL employee, put up this example (modified from the original, special thanks to Ralph Navarro for copying it down):

Basically, this …

[Read more]
Performance Question #1

bulk insert, bulk load, bulk load data, disable keys, enable keys, innodb, load data, myisam, performance, primary keys unique keys

[Read more]
Interview with Brian Moon, from the Phorum project

If you've spent any amount of time on the forums, you probably will have recognized Brian among the forum users who most frequently answer posts -- particularly SQL and performance-related questions. Some time ago, I had a chance to ask Brian a little bit about his experience writing Phorum, about his thoughts on open source and MySQL in particular, and on his vision for Phorum in the future...

New XAMPP 1.5.4 version for Linux and Windows

Again and again the guys from Apache, MySQL, PHP, phpMyAdmin and finally from OpenSSL surprised us over the last weeks with new releases of their software packages. Now after a very quiet week we are proud to announce our own new version containing all these new releases.

New in this version of XAMPP are: Apache (2.2.3), MySQL (5.0.24a), phpMyAdmin (2.8.2.4), PHP (4.4.4 and 5.1.6) and OpenSSL (0.9.8c).

In case of Windows we also upgraded ADOdb (4.91) and FileZilla FTP Server (0.9.18).

Download XAMPP 1.5.4 here

Alternatives of PHP ?

When I loaded GigaBytes of XMLs into mysql database with PHP script, I was thinking about PHP alternatives. Why do I need that ?
1. PHP is slow - I'm speaking about area of data processing and implementation of algorithms
2. No good cli debugger - I'm just tired of debugging with 'echo' and 'var_dump'
3. Unpredictable memory consumption - it's easy in processing of big files to eat all available memory
4. Need something new - I've been using PHP for almost 10 years, so I want to try something else to refresh my mind.

List of my requirements:
- Stable binding to MySQL, support of new protocol with prepared statement is necessary.
- good XML handling
- Fast in terms of performance and development
- multiplatform, at least Linux, Windows, Solaris necessary
- under active development and wide community
- web binding
- not Java (I don't like it, as most PHP-guys, I …

[Read more]
Extending documentation formats and facilities using the Docbook base

Back in July, we made an Eclipse documentation plug-in of the MySQL manuals available for users to download.

In truth, the Eclipse documentation format is actually just HTML; you have to combine the HTML with a plug-in manifest that details the documentation, version number etc so that the documentation is loaded and identified as a valid plug-in element when Eclipse is started.

read more

EU commissioner McCreevy: software patents are ?a goal worth pursuing?

On Friday, EU internal market commissioner Charlie McCreevy (whose historical ties with Microsoft and similar companies are mentioned in my book) delivered this speech on his intellectual property rights (IPR) strategy. He flew all the way up to Helsinki for an informal meeting of the ECOFIN (economic & finance) Council of the European Union.

In his speech, he said the European Patent Litigation Agreement (EPLA) “is a goal worth pursuing” and that he wanted to involve the EU in the EPLA negotiations “and bring them to finality”. He falsely claims that the EPLA would “offer valuable cost savings”: even Nokia and pharmaceutical giant GlaxoSmithKline have already pointed out that …

[Read more]
Showing entries 40031 to 40040 of 44146
« 10 Newer Entries | 10 Older Entries »