I’ll tell you my story, but you may be in the same situation having done something completely different, so keep reading…
One day, some time ago, I was very happily installing the WP-Security-Scan WordPress plugin, and I got an analysis result saying that I should change the default WordPress database table prefix in order to make harder the potential SQL Injection attacks…
So I went to the link and filled the new prefix in the screen that appeared…
After pressing the “Start Renaming” button, I got the following page:
Everything seemed to have been done perfectly…
But…… This is what I got after trying to go somewhere else in the administration panel:
The infamous “You do not have sufficient permissions to access this page” message…
From this point on, I could not access the administration panel anymore… So what could I do?
The problem seemed to be generated by the modification of the WordPress table prefix, so I went to phpMyAdmin to check the database… Everething seemed OK.. I checked the wp-config,php… The prefix had been updated… The site seemed to work flawlessly for normal visitors…
So I started searching… And finally found a site whose solution I’ll leave you below in a easier to use way…
Solution
If this problem was generated by a change to the WordPress database table prefix (done by the buggy WP-Security-Scan plugin, by a migration or by other means), you should fill the following two fields and press the “Generate” button to generate a SQL Query which you should execute in your database (using phpMyAdmin or other options)…
| Old Prefix | |
| New Prefix | |
| SQL |
That’s all… If this didn’t work for you, it may be other kind of problem… In that case, take a look at the comments section of this post, since there are some people which found other solutions.
Hope it helps
Support appreciated!
All the content offered in this website is, except noted otherwise, of free nature. This means you can share it wherever you want if you do it freely and stating its source.
If it was useful for you and you’d like to contribute, you can make a donation or, at least, visit one of our advertisers of your choice; they are all around the site.
Incoming search terms for the article:
- No tienes suficientes permisos para acceder a esta página
- No tienes suficientes permisos para acceder a esta página wordpress
- You do not have access to the administrator section of this site
- wordpress No tienes suficientes permisos para acceder a esta página
- no tiene los permisos necesarios
- WordPress You do not have sufficient permissions to access this page
- wp security scan You do not have sufficient permissions to access this page
- You do not have sufficient permissions to access this page
- No hay suficientes privilegios para acceder a esta página
- wordpress 3 1 You do not have sufficient permissions to access this page
Related posts:
- How to remove the “Visual” tab from the WordPress post/page editor
- Google (XML) Sitemaps Generator with qTranslate support now available at the WordPress Repository
- Updated: qTranslate support for the Google (XML) Sitemaps Generator WordPress Plugin 3.1.6 (2nd Release)
- Hide WordPress Visual Editor Tab 1.01
- Important Update: Google (XML) Sitemaps Generator with qTranslate support (Version 3.1.6.3)



Ack! This happened to me too. In an attempt to fix it, I deleted the plugin via FTP. I should’ve googled first! Would you be able to instruct me how to fix it now? D-oh!
You can just “re-install” the plugin via FTP decompressing it int the wp-content/plugins/ directory so you’re at the previous situation and then follow step by step the instructions I posted.
If you have any trouble doing it, just tell me…
Hope it helps!
NeoEGM.
Excelente ayuda. Gracias!!!
De nada!
Saludos.
Thank you, I had exactly the same permissions problem. It never would have occurred to me that the database tables would contain references to other table names. My programmer sensibilities are offended.
Thank you for your comment!
Sometimes it happens that things are not implemented just as we would have wanted…
)!
But well, we can always learn now perspectives (no matter whether we like them or not!
I’m glad it helped you!
Thank you sooo much. That was the solution to my problem. I was migrating several wordpress databases into a new MySQL 5.0 server and wanted to name the prefixes differently to tell the wordpresses apart.
Thank you Paul for your comment!
I’m very glad it helped you!
Greetings!
Thank You So Much!! I updated my database prefix with the instructions at http://tdot-blog.com/wordpress/6-simple-steps-to-change-your-table-prefix-in-wordpress when the Security Scan plugin didn’t work for me. Everything went smoothly except for the permissions problem and I spent 2 aggravating hours trying to fix it before I stumbled across this solution. Thanks again!
Thanks David for your comment!
I’m glad the post helped you!
Greetings!
Aah! Your solution did the job! Thanks!
Excellent!
Thanks for your comment!
I’m glad it helped!
Greetings.
Thank you, thank you, thank you! I manually updated my prefix and got the error. Your generator worked great. Excellent post!
Excellent!
I’m glad it helped!
Thanks for your comment!
Greetings.
Hey
Thanks for this post. You saved me hours of searching on how to fix this problem!
No problem!
I’m glad it helped…
Thanks for you comment!
I used the same plugin and had exactly the same problem. Your quick SQL code generator gave me just the right incantation to regain control of my blog. Thanks!
I’m glad it helped!
Greetings.
Que grande! es justo lo que necesitaba para que funcione. muchas gracias, master
Gracias por el comentario!
Me alegro de que te haya servido!
Saludos.
Maestrisimo, eres un grande.
Muy buen script para generar el codigo sql. Me ahorraste horas!!
Un saludo y muchas gracias
Jaja! Gracias Mat!
Me alegro de que te haya servido!
Saludos!
Gracias, tuve el mismo problema. Pero en mi caso el re-nombramiento lo hice manualmente.
Joya!
Gracias por tu comentario.
Saludos!