Skip to main content

Posts

Showing posts with the label Command Prompt

YouTube Monetization disabled and re-enabled!

L ike many small time YouTube creators, I also got an email in January 2018 about changes to the YouTube Partner Program (YPP)  regarding changes new threshold of 4,000 hours of watchtime within the past 12 months and 1,000 subscribers. The revenue wasn't much but it was good to get some revenue from the little effort made in creating some videos. Unfortunately, my channel did not meet the subscriber threshold though watch time was alright. So, as per the new rules, monetization was set to be disabled. Read more »

VB.NET Example Code to backup MySQL Database using mysqldump command in VB using Visual Studio 2015

In this post, we will see how to create a simple VB.NET application to backup MySQL database using the same mysqldump command by firing command prompt from the VB application. For this example, I am using Visual Studio 2015 Community edition. In some examples on the internet, you would also find the use of mysql connectors for Visual Studio. I have also used it and it works. But since in this post, I am directly going to fire the command prompt from the VB application just like we execute mysqldump command directly in command prompt, there is no need to use the mysql connector for backup purposes. It will however be required if your application is going to fetch data display data etc from a MySQL database in the VB application. The form designed is: Ignoring the other labels, the important form elements used in code are: Read more »

Batch File Example Code To Backup MySQL Database To A Particular Folder, Append Date and Time, Delete Backups Older Than X Days

In this post we will see how to make a batch file to take backup of MySQL database (single database) to a particular folder on the same computer. As you may already know, there are various variants of mysqldump command. But for this exercise we will use this command: mysqldump --routines -u<username> -p<password> <database name> > <output sql file name> Simple Batch File to backup MySQL Database: Read more »