Tutorial: WordPress and your MySQL Database

If you're having problems setting up your MySQL for use with WordPress, you might wish to take a look at your wp-config.php file.

The sample file that comes with your WordPress installation kit is named wp-config-sample.php, which you'll have to edit and save as wp-config.php

Here are some lines near the top of that file:

define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'username'); // Your MySQL username
define('DB_PASSWORD', 'password'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

The main stumbling block is this: When you create a MySQL database named "wordpress" in your web site, the actual name is not "wordpress"; rather, it is websiteusername_wordpress. Same thing happens with "username".

The key points to remember are:
1. Create the database.
2. Create the user.
3. Add the user to the database. (I often forget this third step and end up wondering why I couldn't install WordPress.)

You can view the online video tutorial or screencast at:
http://www.viloria.net/tutorials/wp-mysql/
[ First posted on 06/02/2005 by Manuel Viloria ]



Do you LIKE this page? Please let us know, and we will publish more of the content that YOU want. Salamat po!


"Yes, I Want To Grow My Financial Life & Get The 11 TrulyRichClub Blessings!"

To Grab This Offer, Click Option Below:

Truly Rich Club Philippine Residents Click Here

Truly Rich Club International Residents Click Here



Visit SupremeWealthAlliance.net ~ Kumita sa Internet, Kahit Super-BUSY Ka

Get In Touch With Manuel Today
Manuel@Viloria.net



  Previous Entry
  Next Entry




Secondthoughts @ Viloria.com
"Invest in yourself, before
others will invest in you."
-- Manuel Viloria


Viloria.com
About Manuel Viloria
Secondthoughts
Archives
Angelhouser
Contact Us
Privacy Statement
RSS Feed


Google Reader


Copyright © 1996 - 2015 by Viloria.com All Rights Reserved.