run some database queries from within the admin panel on Concrete 5.5.2.1

Permalink
Is there a way to run some database queries from within the admin panel on Concrete 5.5.2.1?

The reason is that I need to update some paths to files and the root path in my database because of this:

http://www.concrete5.org/community/forums/installation/move-c5-code...

I have a free host and i'm having difficulty accessing phpMyAdmin at the moment for some reason.

crmpicco
 
JohntheFish replied on at Permalink Reply
JohntheFish
1. You could add a php block to a page, code the queries into that.

2. I have an addon 'SQL Info' in the prb that runs some preset queries and shows the result. It would be a good starting point for modification to add on any other pre-coded query, just change add a couple of lines to arrays in the single page controller.

(I suspect there are other existing addons you could do a similar trick with)