Tuesday, September 6, 2016

BACK UP AND RESTORE DATABASE USING COMMAND LINE IN PHP SCRIPT

Filled under:

1. BACK UP DATABASE This line bellow is used to back up database existing in MySQL database engine. This standart coding is using XAMPP Server and running in Windows Operating System. Before executing this line in browser, you have to try it in the Windows Command Prompt with your own system privileges. a. Go to cmd.exe as an Administrator and run this command line: C:\xampp\mysql\bin>mysqldump –h[hostname] –u[username] –p[password] [databasename] > [database back up file].[extension] This is the example of the real code: C:\ xampp\mysql\bin\mysqldump...

Posted By Novida2:36 PM

BACK UP AND RESTORE DATABASE USING COMMAND LINE IN PHP SCRIPT

Filled under:

1. BACK UP DATABASE This line bellow is used to back up database existing in MySQL database engine. This standart coding is using XAMPP Server and running in Windows Operating System. Before executing this line in browser, you have to try it in the Windows Command Prompt with your own system privileges. a. Go to cmd.exe as an Administrator and run this command line: C:\xampp\mysql\bin>mysqldump –h[hostname] –u[username] –p[password] [databasename] > [database back up file].[extension] This is the example of the real code: C:\ xampp\mysql\bin\mysqldump...

Posted By Novida2:36 PM