Title: config file settings.
Last modified: August 18, 2016

---

# config file settings.

 *  [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/)
 * Hey, I’m sry for doing this, but I have to. Pls look thru this file and see if
   everything is correct. Where can I see what my name for the database is?
    Thanks
   <?php /** WordPress’s config file **/ /** [http://wordpress.org/](http://wordpress.org/)**///**
   MySQL settings ** // define(‘DB_NAME’, ‘HENRIK’); // The name of the database
   define(‘DB_USER’, ‘henrik’); // Your MySQL username define(‘DB_PASSWORD’, ‘*******’);//…
   and password define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to 
   change this value // Change the prefix if you want to have multiple blogs in 
   a single database. $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’//
   Change this to localize WordPress. A corresponding MO file for the // chosen 
   language must be installed to wp-includes/languages. // For example, install 
   de.mo to wp-includes/languages and set WPLANG to ‘de’ // to enable German language
   support. define (‘WPLANG’, ”); /* Stop editing */ $server = DB_HOST; $loginsql
   = DB_USER; $passsql = DB_PASSWORD; $base = DB_NAME; define(‘ABSPATH’, dirname(
   __FILE__).’/’); // Get everything else require_once(ABSPATH.’wp-settings.php’);?
   >

Viewing 15 replies - 1 through 15 (of 35 total)

1 [2](https://wordpress.org/support/topic/config-file-settings/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/config-file-settings/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/config-file-settings/page/2/?output_format=md)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113335)
 * > Where can I see what my name for the database is?
 * If your host has created the database for you – they probably gave you this data:
   db name, user name, pw.
    In case that you’ve created your own DB (like through
   CPanel) you should know the name of the DB since you had to name it.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113336)
 * You should be able to find your MySQL info through your hosting provider’s control
   panel.
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113486)
 * thanks, I will talk to my host later then:)
    cheers
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113919)
 * I have php-installed at my server now and I have fix the config file.
    I have
   upload the config file to the wordpress folder, but I get still the same problem..
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113920)
 * Do you have a MySQL server?
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113921)
 * MySQL 4.0.22 and phpMyAdmin 2.2.3
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113922)
 * Maybe if you described the problem you are having. This is akin to saying “Doc
   it hurts” w/o saying WHAT hurts, or what you were doing when it started hurting(“
   Doc, I was rock climbing when I fell off and landed on the ground. I fell about
   20 feet or so. I think I broke my arm and it hurts like a #@#$%#$!”)
    Tg
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113929)
 * okey, sorry!
    When I run install.php @ wordpress/wp-admin/install.php @ my internet
   server, I get this message at the top; wp-config.php file. I need this before
   we can get started. I have config the file and upload the file to wordpress/ 
   @ my internet server.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113930)
 * Ah, now that changes everything.
    #1 Did you save wp-config-sample.php as wp-
   config.php on your computer? IOW, do not change wp-config-sample.php’s name to
   wp-config.php after you upload it. #2 Did you upload wp-config.php in ASCII (
   text) mode? #3 Are the permissions on wp-config.php set to 755 (CHMOD 755)? #
   4 If the above don’t help, then it was probably an unzipping problem. Download
   WordPress again and unzip it with a different application. Then, upload all of
   the file and wp-config.php (created from the newly unzipped file) again. #5 If
   that doesn’t work either, then it’s a problem with your webhost. Please contact
   them.
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113940)
 * #1 I changed the name on my computer and uploaded the file as wp-config.php
    #
   2 I uploaded the file in “binary” mode. #3 I don’t understand what you mean?:
   $
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113941)
 * Hm, don’t worry about #2 yet, solving #3 will probably fix it. Podz has some 
   tutorials for how to CHMOD with the various FTP apps here: [http://www.tamba2.org.uk/wordpress/ftp/](http://www.tamba2.org.uk/wordpress/ftp/)
   
   As Podz would prefer that you use FileZilla as your FTP app, there is ma complete
   tutorial for using the app to install WordPress here: [http://www.tamba2.org.uk/wordpress/FileZilla/](http://www.tamba2.org.uk/wordpress/FileZilla/)
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113942)
 * I have changed the mod to 766 for the config file and 666 for the index file,
   but I still get the same problem.
    Check by yourself [http://matrix.dzygn.com/blog/wp-admin/install.php](http://matrix.dzygn.com/blog/wp-admin/install.php)
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113943)
 * Are all the php files being uploaded in ASCII mode ?
    That looks like either 
   a corrupted file, or a file uploaded as Binary.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113944)
 * Try this ?
    PHP Info Paste this into a new Notepad / BBEdit file `<?php phpinfo();?
   >` Save as ‘info.php’ Upload to server. Visit in your browser (www.example.com/
   info.php) That will give you info about your php version
 *  Thread Starter [henrik](https://wordpress.org/support/users/henrik/)
 * (@henrik)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/#post-113945)
 * Apache/1.3.33
    MySQL 4.0.22 phpMyAdmin 2.2.3

Viewing 15 replies - 1 through 15 (of 35 total)

1 [2](https://wordpress.org/support/topic/config-file-settings/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/config-file-settings/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/config-file-settings/page/2/?output_format=md)

The topic ‘config file settings.’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 35 replies
 * 5 participants
 * Last reply from: [henrik](https://wordpress.org/support/users/henrik/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/config-file-settings/page/3/#post-114002)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
