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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠