Category Archive For "CMD – Command Prompt"
Create new MySQL user for your Database and Grant all privileges
This tutorial shows how to create a new user for MySql and Grant all privileges to the user. First lets check how many users is present for MySql now. It will be present in user table in MySql database The command for seeing the user available is select user,host,password from user As per the result …
Copy Mysql database from one server to another server
This tutorial shows how to transfer Mysql Database from one server to another server without any software. In this tutorial we are transferring our Local host server database to a server located remotely hosted in freemysqlhosting.net. Click here to see how you can register free to get remote MySql database online. The image below shows my …
Auto Back up Mysql Database without any Software
This tutorial shows how to take back up of a MySql Database without any software. This can be done by creating a scheduled task with a Bat file. Here is the Step by Step process for that. If you want to a auto back up Mysql database test_111 as shown below First we will check how …
Run-Command-Prompt-CMD-commands-from-JAVA
This tutorial shows how to Execute Command Prompt Commands from JAVA, Copy the below two classes to same package cmd_prompt Now run the my_main.java as Run as Java Application 1. my_main.java 2. SyncPipe.java 1. my_main.java package cmd_prompt; import java.io.PrintWriter; public class my_main { public static void main(String[] args) { String[] command = { “cmd”, }; …