Access drupal database and installing module with composer

0

Hi
I created a drupal website on a lightsail instance.
How can I access to the durpal database plz ?

And I try to install module with the bitnami console and composer but when I execute that command line :
(command line from drupal.org)
composer require drupal/geofield

I have this console response:

[InvalidArgumentException]
Could not find a matching version of package drupal/admin-toolbar. Check the package
spelling, your version constraint and that the package is available in a stability wh
ich matches your minimum-stability (stable).

Can you help me with these 2 questions plz ?
Thx

Edited by: ced3c on Feb 8, 2021 9:42 AM

ced3c
已提问 3 年前315 查看次数
2 回答
0

ced3c,

Thanks for using Lightsail!

First question: According to the Drupal docs on Bitnami's site you can access the db on the box by running the "mysql" command: https://docs.bitnami.com/aws/apps/drupal/get-started/connect-mysql/

For your second question it is interesting that the error message refers to "drupal/admin-toolbar". The only similar module I found is named "drupal/admin_toolbar" (note the underscore). Is it possible that the "geofield" module has a bad dependency?

Donley

profile pictureAWS
已回答 3 年前
0

Thx Donley for your answer
For the database it is done thank you

For install module with composer I have the same problem

I tried to install a few module but always the same message
Could not find a matching version of package drupal/address.. Check the package
spelling, your version constraint and that the package is available in a stability wh
ich matches your minimum-stability (stable).

and the command line I use : composer require drupal/address.

Perhaps i am not in the good repertorie. I don't know the good repertories

Edited by: ced3c on Feb 12, 2021 1:10 AM

ced3c
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则