Switching to mysql and running the rails server (rails s) displays
I am pretty sure the database.yml is correct (shown later), that the
database exists, and
the user nara (myself) can access the database using the mysql client.
I have tried rebooting my machine, but that does not help.
I also gem installed mysql, and changed everything in database.yml to
Still the same issue with ActiveRecord failing to connect. I will go
to using mysql2, and hopefully, get some help on this group. I will
also try the mysql
blog author at excid3.com. If I can somehow get mysql2 to work, I will
post here. At this rate, it looks like I may have to try postgres
First I highly recommend to start with all default settings. If
anything works properly and then you change DB for example and an
error occurs - you can be sure that it was the mistake.
Postgres is good, since you don’t need to change any SQL I think
locally everything works fine, and remotely you’ll like Postgres
HTH Let me know if you’ve further questions, cheers
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.