MySQL DB Configuration

I am using mysql-installer- installed on Windows 7.0 OS

I have just installed MySQL and i am new to MySQL.

My username and password are root , chokka.

I tried to configure Wordpress with MySQL, It throws following error.

•Are you sure you have the correct username and password?
•Are you sure that you have typed the correct hostname?
•Are you sure that the database server is running?

I am sure about Username,Password,Database Name. How should i confirm MySQL Hostname ?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineNo oneCommented:
Try localhost for the host name.
chokkaStudentAuthor Commented:

On doing so, I get this message.

All right sparky! You've made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to…

Run the install ..

On clicking Run the install ..

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at Test. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?

If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

I am getting above message !!
Jason C. LevineNo oneCommented:
Are you sure you configured the database name (not the hostname) correctly and have permissions assign to user root?
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

chokkaStudentAuthor Commented:
You can see the screenshot, Parameters i have entered !!
Jason C. LevineNo oneCommented:
But the error message above states:

"or we can't contact the database server at Test"

So what is Test?
chokkaStudentAuthor Commented:
on wp-config.php

it shows ..

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'world');

/** MySQL database username */
define('DB_USER', 'chokka');

/** MySQL database password */
define('DB_PASSWORD', 'chokka');

/** MySQL hostname */
define('DB_HOST', 'Test');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
Jason C. LevineNo oneCommented:
/** MySQL hostname */
define('DB_HOST', 'Test');

change Test to localhost

It may have grabbed it from a previous attempt and saved it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chokkaStudentAuthor Commented:
@jason1178, Great Thank you !! I am able to get into Wordpress.
Jason C. LevineNo oneCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.