Logbook Tables

7 posts / 0 new
Last post
G8FXM
G8FXM's picture
Logbook Tables

Can anyone tell me where the logbook tables are actually stored on a Linux install. I've looked in the MySQL database but I cant see any logbook tables there?

ok2cqr
ok2cqr's picture
Re: Logbook Tables

Hi Dave,

if you are using CQRLOG with mysqld on your machine, you will found all files in ~/.config/cqrlog. Symbol ~ is your home directory e.g. /home/g8fxm so full path will be /home/g8fxm/.config/cqrlog. If you want to show hidden files in Nautilus use CTRL+H hotkey.

73 Petr, OK2CQR

G8FXM
G8FXM's picture
Thanks Petr, Is there anyway

Thanks Petr,
Is there anyway I can move the log table to the central SQL Server so I can access it for web reports etc?

73'd De Dave, G8FXM O/S Linux Mint 18.1 KDE Plasma 64 bit  g8fxm@uksmg.org

ok2cqr
ok2cqr's picture
Re: Thanks Petr, Is there anyway

Yes, there is.

When you run CQRLOG, connection window will appear. Uncheck option Store data to local machine and you can enter server, username and password. After first connection CQRLOG will create databases etc. Now you can have your log on other machine.

I suppose, you want to move also your log data :-). It is also very easy, just use ADIF export and import your data to new log on the server. But don't forget to check all fields in Preferences -> Export, first.

The truth is, I have my log data on our small home server from old notebook. This "server" has MySQL, Samba, Apache installed. I was afraid If I have my log data on local machine, I'll delete it always when testing new CQRLOG build.

Sometimes (twice or more per week) I log onto "server", make backup and export for my online log search - http://ok2cqr.com/hamradio/log_search.php.

73 Petr, OK2CQR

OZ1PIF
Re. Database placement

I use DropBox for sharing files between machines, it would be very convenient if there was a way to place the database in ~/DropBox/SomeFolder instead of the default local placement. Possibly there is and I just know too little about MySQL, to figure out how.

Vy 73, OZ1PIF

ok2cqr
ok2cqr's picture
Re: Database placement

You can use symlik for this. Just move whole cqrlog directory into dropbox filter and create symlink to ~/.config/cqrlog. But I'm not sure if it will work.

73 Petr, OK2CQR

OZ1PIF
Re: Database placement

Unfortunately it wont for some reason, I'll send you a separate mail with screenshots. Ideally there would be an option (in CQRlog?) to direct the DB placement (in this case I would then select ~/Dropbox/cqrlog)

73 Peter, OZ1PIF