Topic on Project:Support desk

Problem entering Database Information while installing MediaWiki

3
Xalomoph (talkcontribs)

Hey,

when i try to install MediaWiki on my server i do have a weird problem. I run through the installation and then enter my database information which is definitely correct. When i click to proceed i get an error saying:

Cannot access the database: :real_connect(): (HY000/1045): Access denied for user 'testuser@'122.144.21.22' (using password: YES).

I see in this line that the installer tried to connect to 122.144.21.22 which i did not enter into the "Databaseserver" field. I entered the ip 176.119.22.77 into the field. The IP 122.144.21.22 is the IP of the server itself. Somehow the installation process is ignoring my userinput and taking the current server IP.


Can anyone tell my why this is? The Setup just wont take my Databaseserver IP when i input it and instead always falls back to the actual server ip where the wiki itself is stored.

P.S.: The IP-Adresses and other data used is just an example because i do not want to give away my real serverdata of course.


Thank you very much in advance!

Bawolff (talkcontribs)

you are misreading the error message.

In mysql access is controlled by both username and what server the user is connected from. The error is saying that testuser connecting from 122.144.21.22 is not authorized.

Xalomoph (talkcontribs)

Thank you so much, you are right. I will keep on searching the error then and update this post as soon as i have the solution Thank you, that helped a lot.

Reply to "Problem entering Database Information while installing MediaWiki"