Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

installing MYSQL on Mac OS X v10.6.8

  • 11-03-2013 06:21PM
    #1
    Registered Users, Registered Users 2 Posts: 112 ✭✭


    Hi

    I am trying to install MYSQL onto my MAC OS X v10.6.8 machine but I have getting the below error, also when I go to system preferences it says that "The MySQL Server instance is stopped", when I click on "Start MySQL Server" and put my password in when prompted nothing happens.

    Midlouths-MacBook-Air:~ ML$ cd /usr/local/mysql
    Midlouths-MacBook-Air:mysql ML$ sudo ./bin/mysqld_safe
    Password:
    dyld: lazy symbol binding failed: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: lazy symbol binding failed: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    130311 17:19:05 mysqld_safe Logging to '/usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.err'.
    130311 17:19:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql-5.6.10-osx10.7-x86/data
    ./bin/mysqld_safe: line 166: 2417 Trace/BPT trap nohup /usr/local/mysql-5.6.10-osx10.7-x86/bin/mysqld --basedir=/usr/local/mysql-5.6.10-osx10.7-x86 --datadir=/usr/local/mysql-5.6.10-osx10.7-x86/data --plugin-dir=/usr/local/mysql-5.6.10-osx10.7-x86/lib/plugin --user=mysql --log-error=/usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.err --pid-file=/usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.pid < /dev/null >> /usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.err 2>&1
    130311 17:19:06 mysqld_safe mysqld from pid file /usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.pid ended


    I am relatively new and inexperienced in using a MAC and MYSQL so please go easy on me, the joys of being back in college :)


Comments

  • Registered Users, Registered Users 2 Posts: 4,844 ✭✭✭cython


    midlouth wrote: »
    Hi

    I am trying to install MYSQL onto my MAC OS X v10.6.8 machine but I have getting the below error, also when I go to system preferences it says that "The MySQL Server instance is stopped", when I click on "Start MySQL Server" and put my password in when prompted nothing happens.

    Midlouths-MacBook-Air:~ ML$ cd /usr/local/mysql
    Midlouths-MacBook-Air:mysql ML$ sudo ./bin/mysqld_safe
    Password:
    dyld: lazy symbol binding failed: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: lazy symbol binding failed: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: Symbol not found: _strnlen
    Referenced from: /usr/local/mysql-5.6.10-osx10.7-x86/bin/my_print_defaults
    Expected in: /usr/lib/libSystem.B.dylib

    130311 17:19:05 mysqld_safe Logging to '/usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.err'.
    130311 17:19:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql-5.6.10-osx10.7-x86/data
    ./bin/mysqld_safe: line 166: 2417 Trace/BPT trap nohup /usr/local/mysql-5.6.10-osx10.7-x86/bin/mysqld --basedir=/usr/local/mysql-5.6.10-osx10.7-x86 --datadir=/usr/local/mysql-5.6.10-osx10.7-x86/data --plugin-dir=/usr/local/mysql-5.6.10-osx10.7-x86/lib/plugin --user=mysql --log-error=/usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.err --pid-file=/usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.pid < /dev/null >> /usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.err 2>&1
    130311 17:19:06 mysqld_safe mysqld from pid file /usr/local/mysql-5.6.10-osx10.7-x86/data/Midlouths-MacBook-Air.local.pid ended


    I am relatively new and inexperienced in using a MAC and MYSQL so please go easy on me, the joys of being back in college :)

    A quick google suggests it might be this issue which relates to the version of MySQL being too new for the version of OS X. On the ticket in question, the reporter is using 10.7, and MySQL 5.6.7, so if they have a compatibilty there, it's highly likely that you have similar using MySQL 5.6.10 on OSX 10.6.8.


  • Registered Users, Registered Users 2 Posts: 112 ✭✭midlouth


    That was pretty much it, crazy to think that there isn't a compatibility check on installation!

    Thanks for that!


Advertisement