Thread Starter
haejin
(@haejin)
Oh nevermind….I figured it out. I was opening the .php file through Dreamweaver, which resulted in a completely blank file, and thus my confusion. I reopened the file using a plain text editor, and I can see the code now, and where I’m supposed to enter my database info.
haejin,
Welcome to WordPress! Don’t apologize…there are no stupid questions here.
You need three pieces of information for the wp-config.php file. The easiest thing to do is make a copy of wp-config-sample.php, and then re-name it to wp-config.php as you are already aware.
Okay, the next part…the necessary information are the elements needed to allow your WP installation to access and communicate with your MySQL database.
Your database has a name; if you set up the database, you will know what it is. Some hosts prepend your account name onto the database name. For example, mine used to be nukemoose_database1.
Now, in order to access the database, you need to have a user. The user is an account with the necessary permissions to work in the database. The user is also a “member” of the database, in MySQL parlance. Again, in my case, it was prepended with my user account info; nukemoose_bloguser1.
The third thing needed is the password. That is the password used by the user to access the database. Pretty strightforward.
Now, some hosts set all of that up for you, and you have to get those three items of information from them, and then you edit your new wp-config.php file. In that file, you will find some lines designed to hold the info. You simply swap in your stuff for the default examples provided, then save the file. From there, you can run the install process.
I hope that this helps a bit. If you have trouble with anything at all, don’t hesitate to stop back here and ask those questions. Depending on your location, and local times, you might be better off to use the search a bit in case most of the people are not around due to the international nature of the timezones. Otherwise, just post your questions and go from there.
Once again, welcome to WP. You have proven yourself to be one of the wisest persons on the planet, alongside all the rest of the WPers in the community! 🙂
LOL! Okay, so you beat me to it. I was busy typing while you were figuring it out for yourself.
Have fun with your blog. 🙂
As long as there are no stupid questions, NuclearMoose, can you spell “laconic” ? 😉
Anonymous
hello , I am intrested in WP , I am going to kick MT .
can you dear please write an example of that Config file ?
just copy paste yours here .
// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', '12345'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
Here’s the one from my internal setup.
The file is self-explanatory.
http://wiki.wordpress.org/5MinuteInstallation/wp-config.php