pietrop.com Rotating Header Image

MySQL Launcher 1.1

Last update 25/11/2008

Download .dmg file

MySQL Launcher 1.1 is released with a major improve in the source code and in its organization. I’ve implemented the ability to test the connection with the local MySQL server. I’ve also resolved the bug related to the option button, while remains unresolved the other bug, but may be, as soon as possible, that I’ll resolve it. I think the problem is related to awakeFromNib.

This new version is compatible only with Intel CPUs and with Mac OS X 10.5, because I use the official MySQL C libraries (compiled for Intel only) and the Cocoa garbage collector, implemented under Mac OS X 10.5 and later.

Download MySQL Launcher 1.1

Screenshot

Known “bugs”

MySQL Launcher 1.1 is compatible only with the official MySQL distribution. I’ll implement an alternative path to the mysql-support directory, because at the moment the app looks for /usr/local/mysql/support-files/mysql.server and if it doesn’t exists and you try to startup the server, the launcher quits.

Subscribe to the feed to stay tuned or add MySQL Launcher 1.1 to your iUseThis profile:

9 Comments

  1. David Cheetham scrive:

    Process: MySQL Launcher [5257]
    Path: /Volumes/MySQL Launcher v 1.1/MySQL Launcher.app/Contents/MacOS/MySQL Launcher
    Identifier: com.preiser.MySQL Launcher
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: launchd [71]

    Date/Time: 2008-12-26 16:22:47.428 +0800
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6

    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0×0000000000000002, 0×0000000000000000
    Crashed Thread: 0

    Dyld Error Message:
    Library not loaded: /usr/local/mysql/lib/libmysqlclient.15.dylib
    Referenced from: /Volumes/MySQL Launcher v 1.1/MySQL Launcher.app/Contents/MacOS/MySQL Launcher
    Reason: no suitable image found. Did find:
    /usr/local/mysql/lib/libmysqlclient.15.dylib: mach-o, but wrong architecture

  2. PietroP scrive:

    Reason: no suitable image found. Did find:
    /usr/local/mysql/lib/libmysqlclient.15.dylib: mach-o, but wrong architecture

    Probably this means that you have MySQL installed on your Mac, but it’s compiled for PPC and not for Intel.
    Let me know if it’s so ;)

  3. Ivan Arsenijevic scrive:

    This is not working for me.

    I have: MacOS X 10.5.6 / MacBook Pro 2.33 15″
    MySQL 5.1.30 installed as 64-bit binary downloaded from dev.mysql.com
    I installed it as usual and it’s located in /usr/local/mysql, which is a link to mysql-5.1.30-osx10.5-x86_64
    I understand this specific version of MySQL binary packages has some issues in ot including all types of library (32/64 bit).
    Still, I can use MySQL preference pane to start/stop the service. I even compiled PHP source code to be 64-bit and include mysql/mysqli support against this same MySQL binary build.

  4. PietroP scrive:

    The project is in stanby. I must update MySQL on my mac, compile it to the latest version and assemble it with MySQL Launcher. In your case, you’ve a 64 bit version, and I’ll must implement a sort of “adapter” or something else.
    In my wishlist there’s a control pane, so user can set its own mysql library version.

  5. Uwe scrive:

    I have a similar problem than David had:

    Dyld Error Message:
    Library not loaded: /usr/local/mysql/lib/libmysqlclient.15.dylib
    Referenced from: /Volumes/MySQL Launcher v 1.1/MySQL Launcher.app/Contents/MacOS/MySQL Launcher
    Reason: image not found

    When I have a look in my MySQL installation I have several libs with “16″ instead of “15″.
    I seem to have exactly the same version than Ivan (5.1.30m x86-64).

    If that changes regularly, why not look for “libmysqlclient.*.dylib”? I may be talking nonsense, I’m no Mac expert (yet?)…

    Cheers,
    Uwe

  6. PietroP scrive:

    Thanks for the feedback. As soon as possible (maybe in March) I’ll fix it. I must implement a check for the mysql lib version, or something related to MySQL vars indicating where the latest lib is located.
    The main problem is that every computer has is own compilated version, and so is difficult to guarantee full compatibility.
    Many thanks again ;)

  7. Tom Stewart scrive:

    A couple of MySQL Launcher suggestions.

    1. Add “Preferences” window to MySQL Launcher, that will allow user to specify current version of libmysqlclient.[x].dylib and libmysqlclient.[x].0.0.dylib files.

    Or better yet…

    2. Enable MySQL Launcher to find and use the current version of these files, as long as they can be found in the default /usr/local/mysql/lib directory.

    Thanks! :-) Tom

  8. PietroP scrive:

    Hi Tom,
    I was planning both your suggestions, and you’re confirming what I was thinking of. Thanks a lot for your feedback!
    As I’ve said in the previous comment, this month I’ll modify the program, so it can run with any MySQL libmysqlclient version ;)

  9. PietroP scrive:

    Ok, I’ve made changes to the application.
    It loads /usr/local/mysql/lib/libmysqlclient.dylib programmatically and tries to interact with the local server.
    I must implement some checks and resolve a malfunctioning with MySQL 6 (the latest version), because it makes my Mac go crazy and the server instance behaves like a ghost! :(

    PS: when I’ve completed the application, I’ll publish it and it will released as MySQL Launcher 1.2 (there’s some changes in the user interface).

Leave a Reply