Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] how to access mysql query logs in unraid 4.7?

Featured Replies

How can I access the mysql query logs in 4.7?

 

I installed mysql through unMenu; and have been using it successfully with XBMC.

 

I also installed digiKam for photo management, that uses mysql databases (one for general, one for thumbnails)

 

For some reason, digiKam takes up to 10 minutes to start up, and then takes about a minute every time I change albums to load thumbnails. I don't have that many pictures in there yet. I want to look into the mysql logs to see what's causing the problem.

 

I would appreciate all help.

 

Thanks

  • Author

Apparently, in mysql the query logs are turned off by default. (Because the log file gets large very quickly. I can't stress VERY enough) What's recommended is to turn it on, optimize,troubleshoot, etc., then turn it off.

 

You can turn them on by putting this line in your my.cnf under [mysqld]:

 

log=/mnt/cache/.tmp/mysql.log

 

This code will have mysql write the mysql.log to the .tmp folder on your cache drive

 

You can change the location to whatever you like, make sure it is not on the flash drive or the memory as it gets large very quickly.

 

For info on how to edit the my.cnf, see the following post:

 

http://lime-technology.com/forum/index.php?topic=18417.msg167247#msg167247

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.