Earlier today I posted a Drizzle white paper we've been working on: Drizzle and IPv6.
When I install a MySQL package using MySQL Sandbox, if everything goes smoothly, I get an informative message on standard output, and I keep working.
This is OK
[Read more]
$HOME/opt/mysql/5.5.15/scripts/mysql_install_db --no-defaults \
--user=$USER --basedir=$HOME/opt/mysql/5.5.15 \
--datadir=$HOME/sandboxes/msb_5_5_15/data \
--lower_case_table_names=2
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/Users/gmax/opt/mysql/5.5.15/bin/mysqladmin -u root password 'new-password'
/Users/gmax/opt/mysql/5.5.15/bin/mysqladmin -u root -h gmac4.local password 'new-password'
Alternatively you can run: …
After Setting up Amazon Web Services you can follow these steps to use the EC2 CLI tools to manage EC2 instances.
As per the setup instructions you require the following environment variables to use the tools. It is recommend you add these to $HOME/.bashrc or appropriate shell startup script.
$ export EC2_HOME=$HOME/aws/ec2 $ export PATH=$EC2_HOME/bin:$PATH # For Ubuntu $ export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ # For Mac OSX Use # export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/
Necessary Access Controls
In addition you require the various AWS access keys before running any EC2 commands.
$ cd $HOME/aws $ mv ~/Downloads/cert-EPE36OOAUD6QZZVFJCDJTEWFAG2EPWGA.pem cert.pem $ mv ~/Downloads/pk-EPE36OOAUD6QZZVFJCDJTEWFAG2EPWGA.pem pk.pem $ export EC2_CERT=$HOME/aws/cert.pem $ export …[Read more]
I have used tools like MySQL Migration Toolkit (*) and Bullzip’s Access To MySQL utility, both do a excellent job but without relationships. We can spend a lot of hours to identifying and creating relationships until now:
I have write a VBA script to identify MS-Access relationships and create MySQL code with SQL-CREATE sentences, it will be useful after migration process using any free tool:
'Put this function in new/existing MS-Access module.
'
' Version History:
'
' 2014-02-09 - Seamus Casey
' a modification to Ivan's handy Access to MySQL relationship/constraint generator
'
' changes include:
' 1) skip Access system tables (TableDefAttributeEnum.dbSystemObjec)
' 2) add support for cascading updates/deletes
'
Public Sub printRelations()
Dim sql, fk As String
Dim I, J As Integer
Dim db As Database
Dim Table As TableDef
Dim TableName As String
' grab a reference to this once, otherwise when we retrieve a table …[Read more]
Many Windows users first looking to experiment with MySQL Cluster may find the process of getting everything up and running daunting. Fortunately, there’s MySQL Cluster Manager (MCM) which can help jump-start that process – and that’s all many people will need.
In my work, I frequently have to install specific version of MySQL Server or Cluster to validate behavior of a handful of commands, and MCM is a bit overkill. I have a couple of tricks that I use to quickly set up MySQL Cluster on Windows environments:
- I always use the .ZIP packages
- I have a set cluster data directory (in my case, D:\cluster-data)
- I have a standard Cluster configuration file (config.ini) that I use, with two data nodes, one management node, and two …
In my role as Web Developer for mysql.com I have always tried to advocate open web standards, and to adopt good new web technologies as early as possible. And I believe that an open source product like MySQL owes the World Wide Web open web technologies, rather than content which requires proprietary plugins. Which is why it’s a pleasure for me to tell you that demo videos which used to require Flash have been replaced by new demo videos which work with HTML5 video (and using Flash only as fallback for old browsers).
Take a look:
… or even better, take a look at the real thing at …
[Read more]As a follow up on the last tip -t here are times when you have errors that REPAIR TABLE doesn't catch by default.
For example, the other day we had a situation where a customer was running a SELECT statement with a WHERE clause on an indexed column. It failed with a 'Got Error 124'. Well, running REPAIR TABLE foo or CHECK TABLE foo came back 'clean'. You could run a SELECT without the WHERE clause so it was clear the data was not corrupt...it was the index.
To fix things I manually dumped the tables and then restored them. This resolved the problem but was rather tedious to say the least. A colleague found the following:
http://dev.mysql.com/doc/refman/5.1/en/myisam-repair.html
Under "stage 3" you can see essentially what I did. However, they also said you can run REPAIR TABLE foo USE_FRM which will do this for you.
Why can't we all just use InnodB :)
km
…[Read more]
- While adding a custom field to Bugzilla to track the newest SeaMonkey version, the script ran into a lock wait timeout and aborted. Some of the data needed to be manually inserted to finish adding the custom field.
This tutorial will help you register and get ready to use Amazon Web Service (AWS). AWS provides a free tier so it is possible to use these services at ZERO cost.
These instructions are used by the Effective MySQL: Backup and Recovery book examples.
Step 1: Registration
- Goto AWS site
- Register email address
- Enter Login Credentials
- Enter Contact Information
- Enter Credit Card details (while this is required, provided you follow free guidelines you will not be charged)
- Identity verification by Telephone
- Activation of account
Screenshots
…
MariaDB announced their 5.3 GA and 5.5 alpha releases.
Oracle will be at DrupalCon in Denver, CO from Monday, March 19th through Friday, March 23rd.
Percona's XtraDB cluster announcement
XtraDB Cluster at the San Francisco MySQL Meetup
on Wednesday, March 21st