Forum: Rails France Connexion à MySQL

Posted by 7h3 G00D (7h3g00d)
on 2012-03-09 11:32
Salutations !

J'ai un problème avec JRuby (ou même Ruby) pour me connecter à une base
données MySQL. Je vous donne le contexte:
- les paramètres de connexion
=============================
development:
  adapter: jdbcmysql # seul ceci change en Ruby: mysql
  database: mybdd_dev
  host: 127.0.0.1
  user: ruby
  password: ruby
=============================
- l'utilisateur existe bel et bien, avec son mot de passe. Il se
connecte bien avec un terminal
- avec "gem search mysql" j'ai ceci comme résultat
=============================
activerecord-jdbcmysql-adapter (1.2.2)
jdbc-mysql (5.1.13)
mysql (2.8.1 x86-mingw32)
=============================

Je vous remercie bien de venir à mon aide.

7h3 g00d
Posted by Sébastien M. (sbastien_m55)
on 2012-03-09 16:37
Quelle erreur as-tu ?
Tu développes sur quel OS avec quelle version de ruby ?
Plus tu nous donnes d'information, plus on pourra t'aider :)
Posted by 7h3 G00D (7h3g00d)
on 2012-03-28 16:00
Merci bien. J'ai trouvé une réponse de moi-même.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.