Home  >  Article  >  Backend Development  >  phpmyadmin login 1045 error

phpmyadmin login 1045 error

王林
王林Original
2019-10-12 17:58:103487browse

phpmyadmin login 1045 error

1. As shown in the figure, the error message cannot be connected to the database, indicating that the account and password in the configuration file are wrong and need to be modified

phpmyadmin login 1045 error

2. Open your installation directory and find the apps directory

phpmyadmin login 1045 error

3. Enter the root directory of phpmyadmin, find and open config.inc. php

phpmyadmin login 1045 error

#4. Find these two lines

$cfg['Servers'][$i]['user'] = 'Your database account ';

$cfg['Servers'][$i]['password'] = 'Your database password';

The database password is empty by default. I use both here. root, save;

phpmyadmin login 1045 error

#5. Refresh the page. At this time, you can see the homepage of phpmyadmin normally.

phpmyadmin login 1045 error

Recommended tutorial: PHP video tutorial

The above is the detailed content of phpmyadmin login 1045 error. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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