0

I want to setup Magento on Magento-Cloud. I have tried to set it up. But when I see at the directory, I can see all the Magento directory and the files listed there. But during setup of cloud I didn't get any information to install the database or create any database. So currently I am getting error when I tried to access front URL and the error is,

" report.CRITICAL: MySQL adapter: Missing required configuration option 'host' "

Also when I check the env.php file, just kind of below details are present, not even db connection codes.

<?php
return array (
  'MAGE_MODE' => 'production',
  'cache_types' => 
  array (
    'compiled_config' => 1,
  ),
  'cron' => 
  array (
    'enabled' => 0,
  ),
);

Anybody knows what I forgot to set it up Magento on Magento-Cloud?

0

For Magento cloud server we can move files only, so i suggest you to install fresh magento into your local server and move all files to cloud server.

Also upload that database to cloud database and just need to update base url from core_config_data table.

  • But where do I setup connection of DB for cloud? This is my actual doubt. – Emipro Technologies Pvt. Ltd. Nov 21 '18 at 12:25
  • i think you need to ask to magento support for ssh and database details. – Jimit Bhavsar Nov 21 '18 at 14:07
  • i have both details, so i have upload whole setup to cloud – Jimit Bhavsar Nov 21 '18 at 14:08
  • I have ssh but not database details.During installation didn't get any conformation about the database. Similarly when I check at env.php and there is also not any database details mention. – Emipro Technologies Pvt. Ltd. Nov 22 '18 at 4:19
  • Check your magento cloud account, from there you can get details or you need to ask to support team. – Jimit Bhavsar Nov 22 '18 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.