Title: WordPress not installing, 403 &amp; database error
Last modified: July 16, 2020

---

# WordPress not installing, 403 & database error

 *  [darko101](https://wordpress.org/support/users/darko101/)
 * (@darko101)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/wordpress-not-installing-403-database-error/)
 * Hello
    I installed itheme security plugin and enabled salt and forgot to save
   the password, so i got logged out and I thought i should delete the WordPress
   folder and reinstall it from the scratch and that was the mistake I made.
 * Now the database is not connecting to the system, there’s error on installation
 * [http://www.site.com/wp-admin/install.php](http://www.site.com/wp-admin/install.php)
 * Shows: Forbidden, you don’t have permission to access this resource. 403 error
 * Phpmyadmin has no create user option and no privilege.
 *  
 * I tried editing the config.php with user and database and trying again but it
   shows: Error establishing a database connection,
 * idk if itheme security has to do with this but I’m reporting everything so it
   will be easier for someone to understand what I did wrong and how it can be solved.

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/wordpress-not-installing-403-database-error/#post-13142452)
 * If you completely deleted the previous WP installation, anything relating to 
   the security plugin should be gone. However, review the contents of .htaccess
   file in public root for any remnant security rules. If you’re not sure, temporarily
   rename the file to negate all rules. Also rename the new wp-config.php file so
   WP can create its own during the installation process.
 * You will still need proper database credentials. See if there is any way in your
   hosting account to create DB users that is separate from phpMyAdmin. If not, 
   your hosting account user/password might work. In some cases the account user
   name has the DB or domain name appended to it to make up the complete user name.
   The specifics should be in your hosting account somewhere.
 * The DB_HOST value can sometimes be rather obscure though ‘localhost’ often works.
   See [https://wordpress.org/support/article/editing-wp-config-php/#set-database-host](https://wordpress.org/support/article/editing-wp-config-php/#set-database-host)
   for other possible names. Again, the specifics should be in your hosting account
   somewhere, or in its knowledge base.
 * Does you hosting account have a one click WP install option? You’ll have better
   luck using it if it’s available. You may not need to know any of the above information
   this way.
 * The 403 error is usually due to improper folder and file permissions. Usually
   they should be 644 for files and 755 for folders. In some instances you might
   need 664 and 775 if the user WP runs as is not the file/folder owner. Another
   common cause for 403 errors is the request runs afoul of mod_security running
   on the server. Your host would likely need to fix mod_security issues for you.
 * Again, a one click install option should let you avoid such issues.
 *  [peterv74](https://wordpress.org/support/users/peterv74/)
 * (@peterv74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/wordpress-not-installing-403-database-error/#post-13142583)
 * Hello
 * If you are using a local environment, then you could try reinstalling your DataBase
   Server or all the development server, ex.: reinstall xampp, local by Flywheel,
   or similar program.
 * If you need some information at the database you could try to set a root password(
   google: reset mysql root password), then update at the Phpmyadmin directory, 
   the config.inc.php file with the root user password inline 21.
 * If you are using a hosted server, then you could try to install your WordPress
   from the Cpanel “Softaculous Apps Installer” “WordPress” “Install Now”.
 * I hope this can be of use.
 * Best regards from QVcreative.

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

The topic ‘WordPress not installing, 403 & database error’ is closed to new replies.

## Tags

 * [403 error](https://wordpress.org/support/topic-tag/403-error/)
 * [Error establishing a database](https://wordpress.org/support/topic-tag/error-establishing-a-database/)
 * [installation error](https://wordpress.org/support/topic-tag/installation-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [peterv74](https://wordpress.org/support/users/peterv74/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/wordpress-not-installing-403-database-error/#post-13142583)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
