phpmyadmin cannot log in

王林
Release: 2023-02-27 08:34:01
Original
6652 people have browsed it

phpmyadmin cannot log in

Problem:

When logging in to phpmyadmin, I cannot log in. It prompts #2002 Unable to log in to the MySQL server.

Cause:

The port number of mysql has changed.

Solution:

1. Enter the config.default.php file in phpmyadmin

2. Modify the following configuration and change the port number to Consistent with the port number of mysql

$cfg['Servers'][$i]['port'] = '3307';
Copy after login

3. Save the file and log in to phpmyadmin again

Recommended tutorial: PHP video tutorial

The above is the detailed content of phpmyadmin cannot log in. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template