Fog - Host is in a tasking - DB cleanup
-
I am trying to associate an image to a group and I get an error saying “There is a host in a tasking” but I currently do not have any tasks running. I’ve read a forum post that says I need to perform a database cleanup of SQL. I see the commands but I have no idea how to get into the CLI for SQL. I left the database password blank. Can someone help me out? I’m not a Linux guru by any means. I don’t have a GUI with this particular Ubuntu (wishing I wouldn’t have done that now).
I tried the first step: mysql -D fog - I get an Access denied message.
-
@mesaman0182 You can find the login credentials for the database in
/var/www/html/fog/lib/fog/config.class.php
. Use those and runmysql -u username -p
to open a connection to the local database. Instead ofusername
put in what you find in the config file. It’s usuallyfogmaster
for FOG 1.5.8/newer androot
for older installs.