![]() | | ||||||||
| | #1 |
| HyperActive Warrior War Room Member Join Date: Oct 2009
Posts: 229
Thanks: 65
Thanked 39 Times in 30 Posts
|
Hello everyone, Today I added the WP Security Scan plugin to one of my blogs. The following two problems were discovered during the initial scan: Your table prefix should not be wp_. Click here to change it. and The file .htaccess does not exist in wp-admin/. I get the following error message, when I try to change the table prefixes via the plugin: Your User which is used to access your Wordpress Tables/Database, hasn't enough rights( is missing ALTER-right) to alter your Tablestructure. Please visit the plugin documentation for more information. If you believe you have alter rights, please contact the plugin author for assistance. I contacted my hosting company (Hostgator) and they said everything seems to be setup correctly. And they said that the problem is most likely the plugin. So with said, I decided to try changing the tables manually by following these steps: Change WordPress database table name prefix | WordPress Developer When I try to import the localhost.sql I get the following error message: MySQL said: #1007 - Can't create database 'username_wrdp1'; database exists At this point I have no idea how to change the table prefixes. Can someone please help me figure this out? I also have no idea how to fix this problem: The file .htaccess does not exist in wp-admin/. Any help would be greatly appreciated. Thank you, Gordon |
| | |
| | #2 |
| HyperActive Warrior War Room Member Join Date: May 2006 Location: Raleigh, NC
Posts: 242
Thanks: 17
Thanked 37 Times in 31 Posts
|
On the issue of 'database already exists', the sql file you have probably has a 'create database <foo>' statement in it already - just remove that one line and try again.
|
|
Michael Kimsal http://heywords.com/srv - take our 2 minute survey | |
| | |
| | #3 | |
| HyperActive Warrior War Room Member Join Date: Oct 2009
Posts: 229
Thanks: 65
Thanked 39 Times in 30 Posts
| Quote:
CREATE DATABASE `username_wrdp1` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `username_wrdp1`; Thanks for the help Mgkimsal Does anyone know how to fix this issue:The file .htaccess does not exist in wp-admin/. What do I put in the .htaccess file? Thanks in advance, Gordon | |
| | |
| | #4 | |
| HyperActive Warrior War Room Member Join Date: Oct 2009
Posts: 229
Thanks: 65
Thanked 39 Times in 30 Posts
| Quote:
What permission level should I set for the .htaccess file? Thanks | |
| | |
| | #5 |
| Active Warrior War Room Member Join Date: Sep 2006
Posts: 129
Thanks: 53
Thanked 16 Times in 16 Posts
|
Hello Gordon I have just checked my .htaccess file and the permissions are set to 644 Hope that helps |
| | |
| | |
| | #6 |
| HyperActive Warrior War Room Member Join Date: Oct 2009
Posts: 229
Thanks: 65
Thanked 39 Times in 30 Posts
| |
| | |
![]() |
|
| Tags |
| plugin, scan, security |
| Thread Tools | |
| |
![]() |