Viewing 5 replies - 1 through 5 (of 5 total)
  • If you go here:

    http://illume.nu/newwordpress/wp-admin/install.php

    it says your database info is wrong. Are you sure it’s all correct and the config file is uploaded to the proper place? Who’s your host? Some hosts require something like xxxx_databasename instead of just the database name. Also, are you using localhost? Not all hosting companies use localhost.

    but despite entering the correct info of the database name, etc

    I think maybe my wp-config.php file may not be correctly detailed, with the info, etc..

    Can’t be right AND wrong and given that it won’t connect and that 99.9% of the time this error is due to incorrect info it is almost certain that you have entered the info incorrectly. Check for space before/after user name and password and double check that the database server info is correct.

    Also have you tried connecting to the database directly with PHPMyAdmin in order to check that the connection details are right?

    Thread Starter jacules

    (@jacules)

    Yup, I am using the localhost and I think I uploaded the wp-config.php to right directory, its the main one outside of the folders, right?

    I can try changing the database name to have the extra bit, with the underscore in it and see what that does.

    Yup, I tried connecting directly to it using a code from my server and doing it that way with PHPMyAdmin, but it didnt change anything for some odd reason.

    I am almost sure that this is a simple error (they usually are) with the connection details but I cant seem to find the problem..

    Thread Starter jacules

    (@jacules)

    I am happy to say I resolved this and this is how I did it…

    Other people with this problem, take note; Where you have to put your hostname, I entered the MySQL full length hostname url instead of just ‘localhost’ and it worked!!!

    Thanks for your attempts to help me out, I do appreciate it, and thanks for replying. I was shocked this time that the replies were so fast. So thank you!!! 🙂

    Yup, I tried connecting directly to it using a code from my server and doing it that way with PHPMyAdmin, but it didnt change anything for some odd reason.

    Yep that shows that the information you are entering into the wp-config.php file is wrong – in this case the wrong server name.

    Many hosting companies these days do not host the DB on the same server as your website so “Localhost” is wrong. As I said above 99.9% of the time it is incorrect information entered in the wp-config.php file.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error in connection to database..’ is closed to new replies.