• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Multiple blank images with no data. New post.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    916
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RRoss
      last edited by

      Re: [Multiple images with no title](no size)

      I,m a noob at mysql so I have a question for the community. We are running Fog 1.2.0 on Ubuntu 14.04 LTS.
      My question is how do i get to the sql interface to run the command " DELETE FROM fog.images WHERE imageName IN (‘’,NULL);" ?
      We also had multiple blank images start populating our database, seems to have stopped at 32,205 count. Any help would be appreciated. Thanks!

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        Open terminal.

        Switch to root properly by typing
        sudo -i

        Then, access mysql by first calling MySQL
        mysql
        If MySQL is password protected, it’d instead be
        mysql -u root -p ,press enter, and then supply the password.

        Then switch to the fog database by typing
        use fog;

        Run your commands:
        DELETE FROM fog.images WHERE imageName IN (’’,NULL);

        To quit MySQL when you are done, type
        quit

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • R
          RRoss
          last edited by

          Wayne,

          Thank you so very much that solved our problem!! We are a school district in Texas and this was slowing things down a bit.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          209

          Online

          12.1k

          Users

          17.3k

          Topics

          155.4k

          Posts
          Copyright © 2012-2024 FOG Project