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
gefragt vor 3 Jahren321 Aufrufe
2 Antworten
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
beantwortet vor 3 Jahren
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
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen