Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phpmyadmin login error #19168

Open
srinivasan000 opened this issue May 16, 2024 · 0 comments
Open

Phpmyadmin login error #19168

srinivasan000 opened this issue May 16, 2024 · 0 comments

Comments

@srinivasan000
Copy link

Describe the bug

Phpmyadmin login page I got some errors

  1. without password forbidden
  2. MySQL, php server run but I got mysqli::real_connect(): (HY000/2002): No such file or directory this error.

To Reproduce

Steps to reproduce the behavior:

1.https://www.phpmyadmin.net/ install phpmyadmin or $pkg install phpmyadmin

2.install mariadb $pkg install mariadb

3.start mariadb $Mysqld_safe -u root

4.start php server $php -S 127.0.0.1:4444

5.goto http://localhost:4444

6.login username="root" password=""

6.see the error

Expected behavior

I expected without bug easy to use

Screenshots

Screenshot_2024-05-16-08-08-13-455_com android chrome
Screenshot_2024-05-16-08-13-11-864_com android chrome

Screenshot_2024-05-16-08-14-37-894_com termux

Screenshot_2024-05-16-08-14-13-565_com android chrome

Server configuration

  • Operating system: Android arm64
  • Web server: mariadb
  • Database version: 11.3.2-MariaDB
  • PHP version: PHP 8.3.4
  • phpMyAdmin version: 5.2.1

Client configuration

  • Browser: chrome
  • Operating system: Android

Additional context

Add any other context about the bug here.

solution

Config.inc.php
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost'; // change to 127.0.0.1
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false; //change to true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant