Passwords
Posted by: Eylnet (---.dip0.t-ipconnect.de)
Date: January 05, 2024 05:37PM

I have no MySQL password set. I can log in on the console.

But I am trying to use adminer and phpmyadmin. Both require a password.

Any idea what to do?

Options: ReplyQuote
Re: Passwords
Posted by: RiggsFolly (Moderator)
Date: January 05, 2024 06:11PM

Leave the password field blank if there is no password set.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Passwords
Posted by: Otomatic (Moderator)
Date: January 05, 2024 07:26PM

Right-Click -> Help

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Passwords
Posted by: Eylnet (---.dip0.t-ipconnect.de)
Date: January 05, 2024 10:18PM

I locked up the help before. Nothing in there explains that a password is needed.

I found nothing about Adminer in the help.


I have set
$cfg['Servers'][$i]['AllowNoPassword'] = true;

on phpMyAdmin.

Still requires a password: Login without a password is forbidden by configuration (see AllowNoPassword)

Only after that I posted here.

Any other ideas?

Options: ReplyQuote
Re: Passwords
Posted by: Otomatic (Moderator)
Date: January 06, 2024 08:53AM

> I have set
> $cfg['Servers'][$i]['AllowNoPassword'] = true;
This is the default value when installing Wampserver or a version of PhpMyAdmin.

Quote
Help -> Help PhpMyAdmin
-- PhpMyAdmin
When starting phpMyAdmin, you will be asked for a user name and password.
After installing Wampserver 3, the default username is "root" (without quotes) and there is no password, which
means that you must leave the form Password box empty.

If PhpMyAdmin explicitly asks for a password, it means you've already set one.

As for Adminer, I admit that the help file doesn't mention that a password is required.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Passwords
Posted by: Eylnet (---.dip0.t-ipconnect.de)
Date: January 06, 2024 12:41PM

> As for Adminer, I admit that the help file doesn't
> mention that a password is required.

I found it for Adminer. You need to set
$AcceptEmptyPassword = true;


> If PhpMyAdmin explicitly asks for a password, it
> means you've already set one.

I have NOT set a password. I can now get in with Adminer without a password.

PhpMyAdmin still says: Login without a password is forbidden by configuration (see AllowNoPassword)

c:\wamp64\apps\phpmyadmin5.2.0\config.inc.php has

$cfg['Servers'][$i]['AllowNoPassword'] = true;

twice. One time for MYSQL (used) and one time for MariaDB (not used).

Options: ReplyQuote


Sorry, only registered users may post in this forum.