You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
When trying to pushing my application using webbynode push, the database.yml file generated does not use adapter: mysql2, but rather adapter: mysql
I also get these error messages:
remote: -----------------------------------------------------
remote: There was an error migrating database:
remote:
remote: rake aborted!
remote: !!! Missing the mysql2 gem. Add it to your Gemfile: gem 'mysql2'
remote:
remote: (See full trace by running task with --trace)
remote: (in /var/apps/kcshrm)
remote:
remote: Please fix this problem and run wn push again.
remote: -----------------------------------------------------
Am I missing something here? My Gemfile already contains gem 'mysql2' Is anyone else having this problem? This is my Gemfile:
I found the problem. The database.yml is incorrectly using mysql instead of mysql2. You need to ssh into your webby and update the database.yml to use 'mysql2' instead of 'mysql' as the adapter.
I'm trying to use the mysql2 gem which was discussed here and support was added with this commit.
When trying to pushing my application using webbynode push, the database.yml file generated does not use adapter: mysql2, but rather adapter: mysql
I also get these error messages:
Am I missing something here? My Gemfile already contains gem 'mysql2' Is anyone else having this problem? This is my Gemfile:
The text was updated successfully, but these errors were encountered: