1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Run Simple SQL Queries From Admin Control Panel?

Discussion in 'XenForo Questions and Support' started by ProCom, Sep 19, 2013.

  1. ProCom

    ProCom Active Member

    Another forum platform I use has a feature called "Database Management" where you can run all your cache rebuilding, db backups, etc.

    One great feature is "Run SQL query"

    The instructions say:
    I see a lot of cases on the xF forum where people say "run this query for xyz" and that requires you to go into PhpMyAdmin or similar. It would be great to be able to just run those queries from within the ACP... obviously limited to only use by Admin.

    Is this something that is already available in the core or as an addon that I don't know about? I searched like crazy and couldn't find anything.
     
    DeMelo likes this.
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    No, I haven't seen an add-on (besides a hackish one I threw together almost two years ago and never released) and it doesn't exist in the core software.
     
  3. ProCom

    ProCom Active Member

    Jeremy, we like hackish addons! :D <hint>
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    I don't have the code any more. I wrote it so I could run a query on a friend's site since he didn't have PhpMyAdmin access.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    Funnily enough I wanted to do this once.

    Might pick it up again one day.
     
    DeMelo and ProCom like this.

Share This Page