Open kihaya opened 3 years ago
Correct. As far as I know this is impossible. Setting up an Aurora Serverless cluster in a production environment is out of scope for this gem. In fact, setting up a "production" DB for any ActiveRecord adapter is out of scope either. For development, you should use local MySQL server or one hosted in a Docker container.
Maybe I should update the README with something like this?
group :development, :test do
gem 'mysql'
end
group :production do
gem 'mysql2-lambda'
gem 'activerecord-aurora-serverless-adapter'
end
Maybe I should update the README with something like this?
group :development, :test do gem 'mysql' end group :production do gem 'mysql2-lambda' gem 'activerecord-aurora-serverless-adapter' end
Sorry for my less information. I use this stack for local Aurora Serverless data API emulation to connect from my Rails app througn Docker container.
https://koxudaxi.github.io/local-data-api/
Is it correct that db:create task is not available (or not yet implemented, hard to implement) for this moment for this gem ?
Environment
Issue
Rails command
db:create
doesn't work. After manually create db by DDL in MySQL console, I can correctly connect to the database in my Rails console.