1

I want to connect to MySQL remotely, so I don't need to install MySQL on my mac.

On linux it's possible by installing 2-3 libraries (libmysqlclient-dev etc.), I don't know how to do the same on mac.

there's an approach stated here : libmysqlclient15-dev on macs?

Blockquote fink install mysql-unified-dev to get essentially the same thing as asking for libmysqlclient15-dev on a Debian or Ubuntu type system.

This approach needs further modifications of library path's, But I need a single command to go, yeah I'm that lazy! :-)

Community
  • 1
  • 1
aliep
  • 1,702
  • 2
  • 21
  • 33
  • 1
    I think this could help you: http://stackoverflow.com/questions/1857861/libmysqlclient15-dev-on-macs – Yevgeniy Anfilofyev Apr 26 '13 at 08:06
  • I should install fink, get libraries, change their path, a lot of work to do :-) Thanks, I've seen that before, but I need a more straight way :-D – aliep Apr 26 '13 at 08:13
  • As you wish ;) Just don't forget that you should also get include files to build mysql2 gem. – Yevgeniy Anfilofyev Apr 26 '13 at 08:17
  • which MySQL version does ruby use(gem install mysql2)? 5.x.x or 6.x.x?! – aliep Apr 26 '13 at 08:19
  • I'm not at my work computer right now. But I think it uses version that is installed on the system. In your case it could be versions of installed libraries. The next question should be: would it work correctly with the mysql server. – Yevgeniy Anfilofyev Apr 26 '13 at 08:24

0 Answers0