Title: having problems figuring out all this database stuff
Last modified: August 18, 2016

---

# having problems figuring out all this database stuff

 *  [onesojourner](https://wordpress.org/support/users/onesojourner/)
 * (@onesojourner)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/)
 * I have gone over this about a million times now. I have been messing with this
   for about 4 hours…. I have created a database on my server. i have added a user
   and given that user a password the data bassse is called idembroidery_com_blog.
   here is what my wp-config.php looks like
    ——————————————————————— <?php
 * // ** MySQL settings ** //
 * define(‘DB_NAME’, ‘idembroidery_com_blog’); // The name of the database
 * define(‘DB_USER’, ‘*******’); // Your MySQL username
 * define(‘DB_PASSWORD’, ‘********’); // …and password
 * define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
 * // You can have multiple installations in one database if you give each a unique
   prefix
 * $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
 * // 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’, ”);
 * /* That’s all, stop editing! Happy blogging. */
 * define(‘ABSPATH’, dirname(__FILE__).’/’);
 * require_once(ABSPATH.’wp-settings.php’);
 * ?>
    ————————————————————– when i go to [http://idembroidery.com/peter/blog/wp-admin/install.php](http://idembroidery.com/peter/blog/wp-admin/install.php)
   i get the error Forbidden You don’t have permission to access /peter/blog/wp-
   admin/install.php on this server. ——————————————————————- when i go to [http://idembroidery.com/peter/blog/](http://idembroidery.com/peter/blog/)
   I get the error
 * Warning: Unknown(/home3/stitch3s/idembroidery-www/peter/blog/index.php): failed
   to open stream: Permission denied in Unknown on line 0
 * Warning: Unknown(/home3/stitch3s/idembroidery-www/peter/blog/index.php): failed
   to open stream: Permission denied in Unknown on line 0
 * Warning: (null)(): Failed opening ‘/home3/stitch3s/idembroidery-www/peter/blog/
   index.php’ for inclusion (include_path=’./:/usr/local/lib/php’) in Unknown on
   line 0
    ————————————————————————-
 * i dont know how much more info i can give. the server software is called boundless
   i believe. I clicked on MySQL Database to create the database. i gave the user
   full permissions. I even tried useing the main database with the root password
   and user name. still no luck. I have read through tons and tons of the tutorials
   and I think i have everything right.
 * thanks in advance for any help you can give.

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

 *  [pascalou127](https://wordpress.org/support/users/pascalou127/)
 * (@pascalou127)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339253)
 * Hi,
    Your wp_config fille looks fine. Looks like your problem is linked to web
   server file permissions not SQL database/server permissions. Try to change the
   file permissions of your server.
 *  Thread Starter [onesojourner](https://wordpress.org/support/users/onesojourner/)
 * (@onesojourner)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339298)
 * here is what my options on my server are. any idea what setting i would need 
   to change? [http://onesojourner.com/server.jpg](http://onesojourner.com/server.jpg)
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339299)
 * File manager
    Then look to Change File Permissions or CHMOD
 * Folders should be 755
    Files should be 644
 * If they are set and do not work, post back and tell us your host ?
 *  Thread Starter [onesojourner](https://wordpress.org/support/users/onesojourner/)
 * (@onesojourner)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339302)
 * ok here is the screen i get when i click that link/tool
    [http://onesojourner.com/server2.jpg](http://onesojourner.com/server2.jpg)
 * when i click on the permissions of the folder where the site and the blog will
   be i get this screen what do i need to enable?
 * [http://onesojourner.com/server3.jpg](http://onesojourner.com/server3.jpg)
 *  Thread Starter [onesojourner](https://wordpress.org/support/users/onesojourner/)
 * (@onesojourner)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339343)
 * well i finally made some progress (I had to manually change the permissoins to
   every single file and folder in the wordpress directory.)
 * now i am finally sort of in word press. here is the error.
    ——————————————————-
 * WordPress
    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 localhost. 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.
    ——————————————————
   all my password info is correct. the only other thing i can see that i could 
   do with the database is that it gives me the option to create an ODBC connection(
   and i dont know what that is)
 *  Thread Starter [onesojourner](https://wordpress.org/support/users/onesojourner/)
 * (@onesojourner)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339367)
 * well I got it figured out. I had to change the “localhost” in the wp-config file
   to onesojourner.com (that would be a good thing to add to the how-to’s instead
   of just saying there is a 99% chance you dont need to change this)
 * thank you all for the help.

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

The topic ‘having problems figuring out all this database stuff’ is closed to new
replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 3 participants
 * Last reply from: [onesojourner](https://wordpress.org/support/users/onesojourner/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/having-problems-figuring-out-all-this-database-stuff/#post-339367)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
