PDA

View Full Version : SQL Querys


steve3402000
11-26-2013, 11:14 PM
Since I am begging for help

Under the maintenance function, it says execute SQL query
I get this in response

You are not authorized to execute SQL queries

Thanks in Advance

Steve

--------------- Added 1385511326 at 1385511326 ---------------

Oh yes, Where do I make the permissions, I hope its not IN MySQL, I cannot access it

Max Taxable
11-26-2013, 11:17 PM
Since I am begging for help

Under the maintenance function, it says execute SQL query
I get this in response

You are not authorized to execute SQL queries

Thanks in Advance

Steve

--------------- Added 1385511326 at 1385511326 ---------------

Oh yes, Where do I make the permissions, I hope its not IN MySQL, I cannot access itPermissions for SQL queries is in the config.php file.

ozzy47
11-26-2013, 11:18 PM
In your includes/config.php file.

// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = '1';

ForceHSS
11-26-2013, 11:22 PM
in your ftp go to your includes folder find the config.php file download this to your desktop and edit it with notepad++ (http://notepad-plus-plus.org/download/v6.5.1.html) find the line
$config['SpecialUsers']['canrunqueries'] = 'userid here';
will be on line 127 then close and save then upload file to ftp

steve3402000
11-26-2013, 11:26 PM
You guys rock

Thank you very much

Steve

Max Taxable
11-26-2013, 11:29 PM
This thread is humorous. Heh.

ForceHSS
11-26-2013, 11:32 PM
This thread is humorous. Heh.
Whys that?

steve3402000
11-26-2013, 11:34 PM
Probably because I know so little. The board has been relatively trouble free. Going on year 10. When it gets pooched up, I ask for help :)

The purpose of my board is to help people. So it is cool seeing the help I get here. On the official board, my posts sit unanswered for weeks.

Steve

ozzy47
11-26-2013, 11:37 PM
I think he said it's humorous, because 3 people answered in three different ways, almost at the same time. :)

Max Taxable
11-26-2013, 11:39 PM
Probably because I know so little. The board has been relatively trouble free. Going on year 10. When it gets pooched up, I ask for help :)

The purpose of my board is to help people. So it is cool seeing the help I get here. On the official board, my posts sit unanswered for weeks.

SteveNo... Not that at all. Alot of us here just like to help no matter what the issue is.

I find it humorous because of the three answers. One somewhat cryptic and short, the next alot more detailed, and the third downright instructive and even more highly detailed! :D And all three within a few minutes of each other, and all three correct.

tbworld
11-26-2013, 11:42 PM
This thread is humorous. Heh.

Because the question was answered by three people, starting with @Max Taxable. Statistically @Max Taxable, you get the collar. All is good. :)

Max Taxable
11-26-2013, 11:43 PM
Because the question was answered by three people, starting with @Max Taxable. Statistically @Max Taxable, you get the collar. All is good. :)I was like the guy in the football game who made the initial 'hit' on the runner, but could only manage to grab his leg to slow him down.

Then my two teammates showed up pronto and pancaked the guy.

steve3402000
11-27-2013, 12:26 AM
I hate to be a pain in the rump, I got it to allow me to run querys, What is the query for it to verify and fix the database?

Thanks again

Max Taxable
11-27-2013, 12:31 AM
What is the query for it to verify and fix the database?

Not sure what you're asking for here.

steve3402000
11-27-2013, 12:39 AM
My MySQL tool which happens to be phpmyadmin, will not allow me to access the database. I have repaired it numerous times through the hosting company. I thought ( probably mistakenly ) that I could circumvent it by going through the board. When I go to do it, it gives me errors. None of my users can upload anything to the board.

--------------- Added 1385516438 at 1385516438 ---------------

phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

This was working recently, nothing was changed.

Max Taxable
11-27-2013, 12:41 AM
I've no idea... But someone will be along soon who might.

ozzy47
11-27-2013, 12:49 AM
AFAIK

phpMyAdmin Not Loading isn't a vBulletin issue. You would need to check your php.ini file. Chances are it is trying to load a resource that isn't accessible. If you also can't access MySQL directly, then it may be offline for one of many reasons.

Your hosting provider should be able to help with this issue.