0 votes

How to connect Wordpress credentials to Localhost Xampp

I have a problem with wordpress installed on a local machine, I try to install plugins and it asks for the Database Name, User and Password. I have tried to use the user name and Root, but I still get the error that it can not connect to the Database.

introducir la descripción de la imagen aquí error introducir la descripción de la imagen aquí

introducir la descripción de la imagen aquí

0voto

Hi Kike if you are in xampp you can know the details of your mysql connection from the file

config.inc.php

introducir la descripción de la imagen aquí

access it from the xampp control panel by clicking on config and then phpMyadmin in this file you will find the username and password of the mysql connection.

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';

copy the data from the single quotation marks and put it in its respective place.

remember that you must first create the database in your mysql server before installing worpress, in your case you must create a DB with the name you put in Database name

access http://localhost/phpmyadmin to create and manage your databases. databases

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X