MAMP fresh install cannot access phpmyadmin - mamp

I'm using MAMP to set up a magenta installation. But after a fresh install of MAMP, I wanted to set up the db and it's giving me this error:
MySQL said: Documentation
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
I've been researching for over an hour and everything I find doesn't help. I never changed the default password for mysql and I'm able to log in using the command line and -uroot -proot. I also tried changing the password and it didn't make any difference.
OSX 10.11.0
MAMP 3.5.1
PHP 7.0.8

Make sure your PHP version in MAMP is 5.6.10.
I've been having the exact same problem and just switched the PHP prefs from 7.0.8 to 5.6.10, restarted the servers and I can get into phpMyAdmin now.
It was driving my bonkers as well.

Related

How to set mail and password in pgadmin 4 in Ubuntu 20.04

I already had pgadmin installed before ubuntu was updated to 20.04. Once it was updated, I realized that pgadmin had disappeared (my databases in postgresql are still there intact) and I followed the instructions below to install pgadmin4:
How to Install PostgreSQL and pgAdmin4 in Ubuntu 20.04
At some point it was supposed to ask me to configure an account with my email and password, but it never did, now I am able to get to the home screen but I cannot login because I did not configure an email and password.
Any help is welcome, thank you!
I removed
/var/lib/pgadmin/pgadmin4.db
file. It was first start pgadmin4 for me so there were nothing important
And then I run
sudo /usr/pgadmin4/bin/setup-web.sh
again and it ask for email\password

why are wekan calls to mongodb unable to connect?

I recently installed Manjaro and followed this tutorial: https://snapcraft.io/install/wekan/manjaro to install wekan. Everything went slicker than snot. I registered an account no issues, open the weken webgui at port 8080 without issue, create new lists and cards fine, but when I go to open the cards I create the connection to 127.0.0.1 is refused. Although it doesn't specify a port, I assume this is a call to the mongodb at the default port 27017, but I also opened up 28017 in the firewall.
Although mongo definitely seems to have been installed since I can see it is running, I can't find a mongod*.conf file on the system to verify the default ports.
This is the first time I used “snap” to install anything, and because it all went so seamlessly I have no clue where to start looking to find the issue. Is there a utility in snap where I can find out exactly what was installed to support wekan (webserver, database, etc.) that I can start checking into as potentials sources of issue. Thks.

How to connect to the database in ddev?

I installed successfully ddev for TYPO3 and now want to connect to the mariadb database. But what are the credentials? If I ssh into the container and want to connect I got a password prompt.
Access via external tools is described in Using Developer Tools with ddev.
Specifically you need to execute the following command to get the necessary credentials:
ddev describe
When upgrading my ddev and deleting all the containers, everything stayed the same except my new port number incremented up by one.
mariadb
Host: localhost:portNumberIncrementedByOne
User/Pass: 'db/db'

Cannot Add PgAdmin New Connection on Ubuntu 15.10

After install pgAdmin III from Ubuntu Software Center, I opened it and it required to add a connection to a server. So I filled in information as below:
Upon clicking on Ok Button, it showed the error message
Error connecting to the server: could not translate host name
"http://127.0.0.1" to address: Name or service not known
As message indicated, I thought the postgres service was not started. Therefore, I went on go terminal console and start service by entering sudo service postgresql start, but it returned Failed to start postgresql.service: Unit postgresql.service failed to load: No such file or directory.
. What's wrong or missing for my pgAdmin III? I'm just using Ubuntu earlier and I have never this problem on windows. Thanks.
http://127.0.0.1 is more a URL, that field is looking for a host so simply remove the http:// to leave the localhost's IP address 127.0.0.1 or type localhost if that resolves to the correct address (it should, usually, via /etc/hosts or the like)
Also, Debian/Ubuntu tend to ship the database servers separately. For Ubuntu, the postgresql package (which requires postgresql-common) package should include /lib/systemd/system/postgresql.service therefore you should be able to sudo systemctl start postgresql
Do you have postgresql (as opposed to postgresql-client) installed?

Unable to connect to PostgreSQL 9.3

Recently, I have installed PostgreSQL 9.3 on my windows 7 64 bit PC but today I have formatted my PC. Now again I tried to install PostgreSQL 9.3 but after installation when I tried to connect it throws error See below screenshot :-
My pg_hba.conf is shown below :
I have also saw Postgres password authentication fails but nothing helps.
I am new to PostgreSQL,please help me on this.
Finally I found the solution hope this will help to other users if they are facing the same problem :-
I have to edit pg_hba.conf file which is located in "C:\Program Files\PostgreSQL\9.3\data". In that file I have to make method md5 to trust as #Craig Ringer said. So the line will look like host all postgres 127.0.0.1/32 trust.
Then to restart the PostgreSQL on windows - Go to start > run > services.msc then restart the service.
Then open pg Admin create new server enter all the required details and save it. That's it !!