Pages

Monday, 7 December 2015

Drupal Import and export database in ubuntu plateform


Export Database -

mysqldump -u username -ppassword Databasename | gzip -9 > database.sql.gz


Import Database -

gunzip < databasename.sql.gz | mysql -u root -ppassword databasename


Install Netbeans in Ubuntu.

1 - Download netbeans from link -  https://netbeans.org/downloads/

2 - Go to Terminal run this command

chmod +x ~/Downloads/netbeans-8.1-php-linux-x86.sh

3 - Then run this
 
cd ~/Downloads && ./netbeans-8.1-php-linux-x86.sh