/usr/local/bin/mysql_install_db --rpm
Then I launched mysqld and everything was good to go.
/usr/local/bin/mysql_install_db --rpm
/**
* The current number of bytes loaded by the server during upload.
*/
protected var _bytesLoaded:int = 0;
[Bindable('bytesLoadedChanged')]
/** @copy #_bytesLoaded **/
public function get bytesLoaded():int{
return _bytesLoaded;
}
public function set bytesLoaded(value:int):void{
if(_bytesLoaded != value){ // only set the value if its different
var oldValue:int = _bytesLoaded;
_bytesLoaded = value;
dispatchEvent(new PropertyChangeEvent('bytesLoadedChanged',
false, false, PropertyChangeEventKind.UPDATE,
_bytesLoaded, oldValue, value, this));
}
}
dispatchEvent(new PropertyChangeEvent('bytesLoadedChanged',
false, false, PropertyChangeEventKind.UPDATE,
_bytesLoaded, oldValue, value, this));
dispatchEvent(new PropertyChangeEvent('bytesLoadedChanged',
false, false, PropertyChangeEventKind.UPDATE,
'bytesLoaded', oldValue, value, this));
package com.effectiveui.models.widget
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Loader;
import flash.events.Event;
import flash.utils.ByteArray;
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
import mx.graphics.codec.PNGEncoder;
[RemoteClass(name="com.effectiveui.models.widget.WidgetCategoryDataModel")]
public class WidgetCategoryDataModel implements IExternalizable
{
public var imageData:BitmapData;
protected var loader:Loader;
public function WidgetCategoryDataModel(){
loader = new Loader();
loader.contentLoaderInfo.addEventListener(
Event.COMPLETE, handleBytesLoaded);
}
public function handleBytesLoaded(event:Event):void{
imageData = Bitmap(loader.content).bitmapData;
}
public function writeExternal(out:IDataOutput):void{
var encoder:PNGEncoder = new PNGEncoder();
var bytes:ByteArray = encoder.encode(imageData);
bytes.position = 0; // may not be necessary
out.writeDouble(bytes.length);
out.writeBytes(bytes);
}
public function readExternal(input:IDataInput):void{
var length:Number = input.readDouble();
var pngData:ByteArray = new ByteArray();
input.readBytes(pngData,0,length);
loader.loadBytes(pngData);
}
}
}