You Are Not Authorized to Execute SQL Queries in vBulletin Maintenance

After login to vBulletin Admin Control Panel, and click on “Execute SQL Query” link under the Maintenance section, the administrator may always been denied and rejected with an error message saying “You are not authorized to execute SQL queries”. This is the case even if you’re super administrator who authorized to do everything on the forums. However, a simple trick will grant the user who needs this Execute SQL Query function with the required permission and right.

To grant an user permission and right to run Execute SQL Query from Control Panel, simply login to your web server which is running vBulletin forum. Then edit the /includes/config.php file.

Find the following line:

// ****** USERS WITH QUERY RUNNING PERMISSIONS ******

After a few lines, you should see the following setting:

$canrunqueries = ”;

Add in the user IDs of the forum members, moderators or administrators that you want to enable their ability to be able to run SQL queries in between the quotes (’). Note that it’s user ID and not user name. User ID is the number assigned to the user account automatically and sequentially. For example, if you want to add the right to administrator, who is usually the first person created on the board, and thus has the user ID number 1, change the line to:

$canrunqueries = ‘1′;

To add more users, simply seperate them with comma (,).


6 Responses to “You Are Not Authorized to Execute SQL Queries in vBulletin Maintenance”

  1. google
    January 15th, 2009 14:31
    6

    Hi forum users :)

  2. mrtruckster
    November 3rd, 2008 21:33
    5

    Hi forum users and readers I hope you can solve a stupid problem with my computer  
    Im getting a lot of popups when Im browsing the internet, sometimes even when Im not at the computer, I leave it on for
    an hour and when I get back I have 2-3 popups that have appeared from nowhere. How can I remove this? Im really not intrested
    in finding adult friends or downloading a new screen saver :D  

    Okay I hope you can give me any ideas, Im gonna check back to the forum in couple days to see what you have suggested, Bye! 

  3. mrtruckster
    November 3rd, 2008 09:30
    4

    Hello this is Mike from houston, you got a nice forum here with some good topics and I hope you can help me with some tehnical problems 
    Im getting a lot of popups when Im browsing the internet, sometimes even when Im not at the computer, I leave it on for
    an hour and when I get back I have 2-3 popups that have appeared from nowhere. How can I remove this? Im really not intrested
    in finding adult friends or downloading a new screen saver :D  

    Well thats it, stupid problem and I hope that it has a nice easy solution that you can come up with, Im getting all your replays to my email
    so I´ll keep an eye on the topic, take care. 

  4. beowulf
    June 15th, 2008 02:58
    3

    thanks, got the sql problem solved in vbulleting.

  5. xztheericzx
    November 5th, 2007 03:57
    2

    i’m eric. joining a couple boards and looking
    forward to participating. hehe unless i get
    too distracted!

    eric

  6. georgetui
    October 13th, 2007 02:24
    1

    Hello,
    Great forum!
    I found a lot of interesting information here.
    Does this forum helpful for you also?

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

enable Execute SQL Query vbulletin - vbulletin sql query - vbulletin plugin sql tables - "You are not authorized to execute SQL queries" - android execute sql - vbulletin "You are not authorized to execute SQL queries" - You are not authorized to execute SQL queries - not authorized to run sql queries -