The Meetup.com folks have created a lot of unnecessary confusion
lately. Their rejection of sponsorship money from Sun and MySQL
has caused many of their MySQL user groups to scramble. The North
Texas MySQL Meetup became North Texas MySQL Users Group and we though
all was done. Well, no. Meetup.com sent out 'do not let this
group die' emails that caused a flurry a messages to flood my
email.
The next meeting of the North Texas MySQL Users Group will Monday
August 3rd (We are taking July off) at 7:00PM in Suite 700, 16000
Dallas Tollway, Dallas TX. The presentation will be MySQL
Basics -- how to install, configure, and start using
MySQL
So we will meet up without Meetup.com!
Need more confidence in comparing and synchronizing schemas? Find where the secret lies.
Read the updated article “The Basics of Qualitative Schema Comparison” and do it yourself.
In the article:
- Convenient Setting Up of Comparison Parameters
- Easy Handling of Schema Differences
- Safe Schemas Synchronization
Moreover, learn how to compare a schema and a database project, understand the compared results, reduce time ..
In one of my task I wanted to get the count of upper/lower char
from a string but noticed that the string function provided in
MySQL couldn't get me that.. and also at the moment it seems that
the regex function in MySQL can match only and the matched stats
cannot be captured nor returned.
I know 2 liner code in any scripting language can perform this
tasks very well.
DELIMITER $$
DROP FUNCTION IF EXISTS `test`.`uGetLowerUpperCharCount`$$
CREATE FUNCTION `uGetLowerUpperCharCount`(prm_string
varchar(250)) RETURNS varchar(250) CHARSET latin1
BEGIN
DECLARE strPos INT default 1;
DECLARE strUpperLen INT default 0;
DECLARE strLowerLen INT default 0;
DECLARE strNonAlphaLen INT default 0;
WHILE strPos <= LENGTH(prm_string) DO IF
ASCII(SUBSTRING(prm_string,strPos ,1)) >= 65 AND
ASCII(SUBSTRING(prm_string,strPos ,1)) <=90 THEN SET …
|
Several teams at Sun have collaborated to put together a Virtual Machine Template for the GlassFish WebSpace Server. The image is available in a number of formats for VirtualBox (OVF, VDI) and for VMware Workstation (VMDK) and VMware Server ESX (VMDK) and bundles WebSpace, GlassFish, MySQL, and a JeOS prototype of OpenSolaris. With this image the evaluation of WSS is very easy: I … |
This is what’s happening at the moment. 5.1 tree doesn’t pass the tests, both Sun and Monty Program fix that, and the fixes are different. Here is a Valgrind warning which was fixed twice: my fix my fix (correct link) made the involved mysys function to do what its name implies while Alfranio’s fix changed the replication code not to call that function anymore.
Besides the Valgrind warning, we observe failures for rpl_trigger.test and …
[Read more]There is a raft of new Tungsten open source builds available for your replication and clustering pleasure. Over the last couple of days we uploaded new binary builds for Tungsten Replicator, Tungsten Connector, Tungsten Monitor, and Tungsten SQL Router. These contain the features described in my previous blog article, including even more bug fixes ( …
[Read more]This isn’t news anymore - it has been over a month - but it would be odd not to mention this all, so here it goes: at the start of May I’ve left Sun Microsystems and joined Monty’s company.
The setup at Monty Program AB is quite similar - we have an IRC channel (#maria on FreeNode), a mailing list, bazaar trees on launchpad, Worklog and a Buildbot installation. It’s actually more open than at Sun/MySQL. At Sun, everyone is on internal IRC, external public can only see a subset of Worklog (the biggest problem with it is that it’s not possible to subscribe to …
[Read more]Seen in #maatkit on Freenode: I never realized just how terrible recovering MyISAM from a crash can be Sad but true – it can be pretty painful. This is one of the reasons I pretty much recommend InnoDB (okay, okay, XtraDB) for most data unless it’s read-only.
Hi again!
Just a moment ago, I read this post by Peter
Gulutzan. In this post, Peter explains a little trick that
allows you to capture the SQL state in a variable whenever an
error occurs in your MySQL stored routine code.MySQL
CONDITIONs and HANDLERsFor the
uninitiated: in MySQL stored routines, you can declare
HANDLERs which are pieces of code that
are executed only in case a particular CONDITION occurs. This device serves
the same purpose …
If you receive a 1045 error, you may need to reset your password. Here are the official instructions for resetting the password: http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html
If you find these instructions confusing, here’s another method.
1. Find the my.ini file (my.cnf for linux). On windows, the my.ini file is typically in your install directory: c:\Program Files\MySQL\MySQL Server 5.1\my.ini Open the file with notepad (or any text editor) and add the following entry under the [mysqld] section:
skip-grant-tables
Then, save the file and restart the MySQL service. This has disabled the grant tables so you should be able to log into mysql without any password ( no more 1045 errors ). Now, we need to reset the password.
2. Log …
[Read more]