1

upon deployment in production, I get this error , I don't understand where is coming from this 5.5.30... but I uninstalled the gem locally (oSX) and remotely (Debian) and reinstalled it... so it should be compiled with the latest libraries.. 5.6.19

here are both MySQL versions installed ...

on Debian

         mysql -u root -p -e 'SHOW VARIABLES LIKE "%version%";'

        Enter password: 

        +-------------------------+-------------------+

        | Variable_name           | Value             |

        +-------------------------+-------------------+

        | innodb_version          | 5.6.19            |

        | protocol_version        | 10                |

        | slave_type_conversions  |                   |

        | version                 | 5.6.19-1~dotdeb.1 |

        | version_comment         | (Debian)          |

        | version_compile_machine | x86_64            |

        | version_compile_os      | debian-linux-gnu  |

        +-------------------------+-------------------+

on OSX

        yves$ mysql -u root -p -e 'SHOW VARIABLES LIKE "%version%";'

        Enter password: 

        +-------------------------+------------------------------+

        | Variable_name           | Value                        |

        +-------------------------+------------------------------+

        | innodb_version          | 5.6.19                       |

        | protocol_version        | 10                           |

        | slave_type_conversions  |                              |

        | version                 | 5.6.19                       |

        | version_comment         | MySQL Community Server (GPL) |

        | version_compile_machine | x86_64                       |

        | version_compile_os      | osx10.7                      |

        +-------------------------+------------------------------+
  • http://stackoverflow.com/questions/8740868/mysql2-gem-compiled-for-wrong-mysql-client-library ... any use? – A Fader Darkly Jul 28 '14 at 16:34
  • I re-installed rbenv , ruby 2.1.2 and rails w mysql2, no mysql lib error anymore .. ( but other issues in deployment..) thanks –  Jul 29 '14 at 12:38

0 Answers0