Monthly Archives: December 2012

CMD for php web developing

Hi,

I am sharing some useful cmd comment for windows. Might helps some one which specially help me. If anyone know more please share with me which will be a great news for me. 😛


//create database 
> mysql -uuser -ppassword -e "create database databasename"


//import database from mysql admin 
> mysql -uuser -p database_name < filename_with_path_of_sql

//export database to a table
> mysqldump -uuser -ppassword database_name > import_file_name_with_extention


Advertisements
%d bloggers like this: