Posts

Showing posts with the label Database

Updating Older Versions Of RadioDJ (2042+)

Image
Recently there were some major changes to the Database connector in RadioDJ which meant newer versions wouldn't run on versions of MariaDB 10.7 and Older. Which means in order to use versions of RadioDJ 2042 and newer you will need to UPGRADE MariaDB to a newer version. I'm currently using MariaDB 11.2 and I have zero issues running RDJ 2045 If updating from an OLDER version of RadioDJ 2.x.x Apply the SQL Database Update File to your Database via Database Setup or you will get errors The Updates will be in the SQL folder of the RadioDJ Setup folder. In order to update MariaDB do the Following. Take a backup of your current database Uninstall MariaDB as per these Instructions Install a newer version of MariaDB Install the newer version of RadioDJ (2043+) and connect your database Reinstall the RadioDJ database and Restore the Backup you just took Then apply the SQL update files as pe

Forget Oracle MySQL Server (Its Buggy)

Image
Seen more and more users who've recently had issues working RadioDJ alongside Oracle MySQL (8) server. I personally think Oracle MySQL lost their way a LONG time ago. I Wrote A While Back about this very issue it seems MySQL8 still doesn't work properly. A soon as people switched to MariaDB their issues went away (Strange That) Marius carried out out some tests a while back and its quite clear that MySQL 8 takes longer to process queries compared to MariaDB. Query Duration MySQL8: 1.7712764 seconds Query Duration MariaDB: 0.0081946 seconds As you can see the difference is Huge on MySQL8 it takes 2 seconds to run a Query I've been a MariaDB user since 2014 and its RARE I have to do any maintence on my SQL databases. IF You have been having issues with MySQL download and install MariaDB Instead! How to Install MariaDB Please Note: Some versions of MariaDB have issues with RadioDJ due to a Database update

Storing RadioDJ Backups Safely & Securely (Cloud Storage)

Image
I recently tried to help a RadioDJ user who had been flooded out recently in the USA. When I asked if he's been taking daily backups he said he hadn't. He's had to start over again from scratch I feel his pain I had that problem frequently with other software. Its a GOOD IDEA if you backup your RadioDJ SQL database to Cloud Storage You know Just incase the worst happens to your computer like a flood I have Google Drive monitoring folders so as soon as I take a backup it gets uploaded to the server. This is why backing up your database to a "safe" location is Important I hope the user who wasn't backing up his RadioDJ database is now doing so. Your database holds a LOT of information about you song library and its structure which makes restoring it a Piece of cake. Use the database setup tool to backup set an hour (24 hour clock) set a folder and its that folder you backup to the cloud. Its rare for

Important: When You Make A Change In RadioDJ Backup The Database

Image
Its pretty much self explanatory... BUT IT IS IMPORTANT RadioDJ saves most of the settings in the database these days although there are some settings still taken care of by XML files. Whenever you EDIT a track be it Cue Points or Artist/Title/Album etc... You must Backup your RadioDJ using the Database Setup tool this will preserve your changes to the database. YOU CAN NEVER HAVE TOO MANY DATABASE BACKUPS! Its probably best IF YOU Backup your database onto an external Cloud server such as Google Drive. I have Google Drive monitoring my SQL backup folder as soon as I take a backup it goes up to the fluffy cloud. Its so much easier when you have settings taken care of in the database because you can set and forget. Its also dead easy for you to transfer Radio DJ to a new machine Other well known radio automation software offerings have NO way of backing up the database which is quite some FLAW. Its just ano

HeidiSQL A Simple Database Editor (MySQL/MariaDB)

Image
I love HeidiSQL as a database editing tool, It also allows me to do maintenance on my databases should the worst happen. MariaDB should automatically install Heidi SQL alongside the database engine Its taken me a few years to feel confident around editing MySQL databases but now I find it really easy to do. I have two instances of SQL servers on this PC I have Oracle MySQL 5.5.9 on Port 3306 and MariaDB 10.5.8 on Port 3007. MariaDB databases shouldn't require much housework once installed I rarely touch my databases but on the odd occasion I have to give them a quick repair. I can easily log onto to sort it with HeidiSQL and its easy to keep on top of your MySQL Server. I knew next to nothing about how to maintain an SQL server 12 years ago but I learned by reading tutorials on the Internet. HeidiSQL makes my life so much simpler I'm not having to rebuild my databases regularly like I was back

Its Really Easy To Sort Your Music Library With RadioDJ

Image
After 7 and a half years with my RadioDJ database I've decided to rebuild my song library from scratch. My SQL database hasn't crashed its just I felt like doing a rebuild. I've spent a lot of time staring at tracks manager over the past couple of days. Knowing the categories my music was previously catalogued under has made life a lot easier. You can setup and create multiple subcategories and genres. Top Tip: Whenever you make a change to any of your songs you need to take a backup this will preserve your changes. This is where RadioDJ excels compared to other expensive radio automation software Other software doesn't come with a way to backup your database data IF you manage to get your database backed up in other radio software you may just find it doesn't backup all your table data. Whereas the RadioDJ database setup tool backs up your entire database and ALL your table data.

The Most Perfect Database Software?

Image
2024 will mark 10 years of me being a MariaDB user. I've used it alongside a lot of versions of RadioDJ. I'd seen someone mention in 2014 that they had found MariaDB so I went and installed it. Maria DB hasn't let me down. I can't even remember the last time I had to fire up HeidiSQL to do maintenance to my databases. MariaDB is being used by some large corporations across the world! I had MariaDB powering my old website before I had to cancel the VPS due to technical issues beyond my control. On my VPS servers MariaDB performed amazingly well compared to MySQL Community Server from Oracle. The author of RadioDJ did a few tests and it appears that MariaDB processes SQL queries fast than Oracle MySQL. I had nothing but headaches with Oracle MySQL community server I only ever do a bit of basic housework with MariaDB. I optimise my RadioDJ database every day by an event. Its been a LONG time

Why Are SAM Broadcaster Requests A Pain to Setup?

Image
Have you tried to get SAM Broadcaster requests setup then you'll know how FRUSTRATING is to get SAM to accept requests. SAM requires two ports to be open to accept requests 1221 and 3306 You also need to enter the IP address of your website in the request handler in SAM in order for it to process requests. You have the option of two request templates in SAM a PHP or HTML one. If you use the HTML template requests are usually handled through Audiorealm. PHP website requests should be handled by your website and sent direct to SAM. Users struggle to get requests working in SAM even if they have the right IP to accept requests from in the request configuration. Unable to connect to 22.248.186.138:1221(Err#: 803) Station might be offline, or connection is being blocked A few years back there was some concern about the SAM PHP request system being compromised in so some way. A re

Automatically Backup Your RadioDJ Database

Image
Did you Know: You can backup the database in RadioDJ free radio automation software? Its really easy to back up the database just set the folder you want the backups to go into. Then set an hour for it to take the backup at (24 Hour Clock) Leave the database setup tool minimised in the system tray. (Tick the box that says "Close to Tray") Thats literally all there is to backing the database up in RadioDJ. Other well known radio playout software doesn't come with a database backup feature Which isn't great when it comes to restoring the SQL after a database crash. YOU CAN NEVER HAVE TOO MANY DATABASE BACKUPS! Its probably best IF YOU Backup your database onto an external Cloud server such as Google Drive. I have Google Drive monitoring my SQL backup folder as soon as I take a backup it goes up to the fluffy cloud.

Transferring RadioDJ To A New Computer

Image
A couple of users of RadioDJ asked how they should go about transferring the RadioDJ settings to a new computer. Please Note: Versions after 2.0.3.9 will not run on versions of MariaDB 10.7 or Older (Due to database changes) in order to use the latest versions 2039+ you will need to upgrade MariaDB to 10.8+ or newer (Im currently running MariaDB 11.2) with very few issues. If however you are wanting to update from RadioDJ v1.8.2 to RadioDJ v2.0.4.5 My Advice is to start with a fresh Database there have been changes to the Database structure since v1.8.2.0 If updating from an OLDER version of RadioDJ 2.x.x Apply the SQL Database Update Files to your Database via Database Setup or you will get errors The Updates will be in the SQL folder of the RadioDJ Setup folder. F.A.Q: Are there files that I can copy onto the new machine so it will have rotations, cue marks, events, and other settings? Moving R

Creating A New SQL User

Image
In case you haven't already noticed MySQL tends to allow some pretty insecure permissions by default, allowing root access from any computer. This is a big problem, especially if you have port forwarding configured on your router to your MySQL instance. However you can easily create new users using any management interface, so we'll do it with HeidiSQL 1) Launch HeidiSQL and sign in as root. 2) Select Tools>User Manager. First of all, we'll remove root access for remote hosts. There will be several accounts listed for root, from various locations. Select the root account that has just a % sign in the host column. This allows root access from any location, including on the internet and isn't recommended. On the right hand side, select the drop down and pick the local network that matches your LAN IP range (e.g. 192.168.%) This makes sure that when you're on your local network, you can still log in as root. Click save. Next we'll add a new r

Why Does RadioDJ Rely On A MySQL Database?

Image
Saw this post on a forum on a post about RadioDJ free radio automation software The biggest fail with RadioDJ to me is the reliance upon a MySQL database Q: So Why does RadioDJ rely on a MySQL database? A: RadioDJ requires a MySQL Database to run some backend functions such as events and rotations Having an MySQL database also makes programming on your website (PHP) really straight forward. You can show what’s currently playing or recently played or even take listener requests from your website. The fact RadioDJ relies on a database for some of it's functions is actually one of it's PLUS points. Some radio automation programs run with a flat file text based system and don't appear to have any form of web integration. I never hear anyone question why other radio playout software has more database options Another PLUS with RadioDJ You can backup your database on one machine and restore it on another machine. You

RadioDJ Database Maintenance (How To Repair?)

Image
So you've successfully installed and configured the RadioDJ database. Now you have it installed its a good idea if once in a while you do some basic maintenance to ensure optimum operation. Its not that difficult to maintain and backup your RadioDJ database. A backup of your SQL database is essential in case the worst should happen to your computer. First: We'll look at the RadioDJ database backup utility. Open database setup from the setup folder select the auto backup tab and set it to backup your database at a set Hour. TIP: Backup your database to a directory or drive of your choice You can never have too many backups The database backup happens in the background Tick the box that says close to the system tray Close to tray and FORGET about it. Fact: Other paid for radio automation doesn't backup the whole database Next we will move onto the other part of the maintenance with HeidiSQL HeidiSQL should have already been installe

How To: Install RadioDJ FREE Radio Playout Software

Image
Installing RadioDJ the easy way... I know it can be daunting and scary installing radio automation software for the first time. I knew nothing about working a Database 23 years ago. Now I can take care of a Database with no issues Mind I learned the Hard way. If you aren't used to using software that requires a database don't panic it's not as difficult to setup as you might think. Tip: Try NOT to use MySQL8 its Buggy and Unpredictable users have had issues with it alongside RadioDJ If you follow these easy steps and have a bit of patience then you should have the program up and running in no time. Why choose RadioDJ Free Radio Automation Software? RadioDJ is 100% FREE and has ZERO restrictions RadioDJ doesn't require online activations or registrations Once installed it's stable and works for days/weeks/months without needing to keep an eye on it Great Music library support add as many

Firebird Database Sam Broadcaster Pro

Image
SAM Broadcaster Pro comes with Five different options of database to install (MySQL and MariaDB are practically the same thing) Firebird - MariaDB - MySQL - PostgreSQL - MSSQL Firebird appears to be the most unstable database of the options you're given. SAM Broadcaster 2020.2 on Firebird has been crashing every 2-5 days I regularly see users having stability issues using SAM Broadcaster Pro with the Firebird database. I installed SAM Broadcaster with the help of a software engineer We used the Firebird server That worked well for a few days Then SAM wouldn't restart SAM fails more and more now to the point where it crashes at least once/twice a Week Its taking the fun out of my hobby We often see users complaining that Firebird in SAM Broadcaster Pro has crashed on them and that they've lost all their data. I tried installing Firebird for SAM Broadcaster Pro but it didn't work Firebird only allows you to load a maximu

Running A MySQL Database Along Side RadioDJ Needn't Be Scary!

Image
So you think its going to be scary installing a MySQL database alongside RadioDJ ( Hint: It isn't difficult) What are you scared of? Running a MySQL database server need not be scary and it needn't be a hassle. With MariaDB its easy to Install It should also install a tool called HeidiSQL which is where you do your basic maintenance on your MySQL server. The last time I rebuilt my RadioDJ song database from scratch was June 2014. I take daily backups of the database so I don't lose all my hard work or changes to my song database! How To Install MariaDB TIP: If you've previously tried to install MySQL server you will need to follow This Post about removing the service first. If you followed the simple tutorial you should have MariaDB setup and running within 5/10 minutes. Right click on the taskbar and select task manager & look for the service mysqld.exe or MariaDB in task manager. Once you have MariaDB working I'm going to su

How To Uninstall MySQL From Windows

Image
How to Uninstall/Clean MySQL from Windows completely? Q: How to completely uninstall MariaDB to enable a clean re-install? A: The way you uninstall MySQL get rid of the MariaDB service & program folders Remember to Backup your databases before you uninstall. 1) Run Command Prompt (Type cmd into the search menu in Windows 8/10) and run it as Administrator and execute the following commands to stop and remove MySQL service. Step 1: Net stop MySQL Step 2: SC delete MySQL Or if the service was called MariaDB Step 1: Net stop MariaDB Step 2: SC delete MariaDB The service should now be gone 2) Go to Control Panel>Programs and Features>select MySQL Server and click Uninstall. After that's uninstalled you then need to do the following 3) Delete the MySQL program folders.You will need to enable Hidden items in file manager in order to get to the hidden program data files C:\Program Files\MySQL C:\Program Files (x86)\MySQL C:\ProgramData\

Installing MariaDB on Windows

Image
I came across MariaDB way back in 2014 after a user posted on the RadioDJ forums that they were using it. I have to admit I was surprised by how easy MariaDB was to install. It's a lot more straight forward than the normal Oracle MySQL installer. Its not as fiddly as setting up MySQL server edition. Once upon a time MariaDB started as a fork of MySQL But with new features and capabilities and performance its grown into a Database Solution of its own 1) Download and install MariaDB 2) Open the file & Install and run when Windows prompts 3) On the licence agreement screen check the accept box. Click next 4) On the next screen will be the components you need to install, don't change anything here just click next. 5) You should now have a screen that says Modify password for database user root Enter your desired password. Tip: Write this password down or even open notepad and save it on your desktop. You will need i

Trying To Move The Sam Broadcaster Database

Image
A SAM Broadcaster user wanted to move their current MySQL database over to a new machine and appears to be having trouble doing so... That's the problem with SAM Broadcaster Pro while there is a backup feature it only backs up program files/settings and NOT the database. Users trying to backup SAM often run into error messages like this. Although why its trying to store a backup as .csv when it should be .sql puzzles me. You have to use external software or batch files if you want to even attempt to try and backup your MySQL database with SAM Broadcaster Pro After you've managed to take a backup of the SAMBC Database the events table isn't backed up as part of the backup and you will lose your events. RadioDJ comes with a tool that enables you to backup your RadioDJ database every day. ALL the data is backed up as part of the RadioDJ MySQL backup. If you decide to move RadioDJ to a new Computer all you would need to do is res

RadioDJ (Radio Automation Playout Software)

Image
RadioDJ Radio Automation Playout RadioDJ is the BEST radio automation playout software available for FREE. It was 2010 when I came across RadioDJ via a Google search and I haven't looked back since. Built around the .NET framework (at least 3.5 & 4.8) and a MySQL database its pretty reliable and stable. Don't let the fact RadioDJ needs an MySQL database put you off MariaDB is easy to Install and maintain. It was 2014 when I last built my RadioDJ database from scratch, I take daily backups so I don't lose my database of songs. RadioDJ has been the bedrock of my music automation since 2010 To me its the MOST PERFECT piece of music playout software ever as it does what I ask of it everytime I go to use it. RadioDJ doesn't require activations or key codes in order to unlock all the features. So it doesn't constantly dial home like other paid for radio playout software is known