Pages

Sunday, August 7, 2011

Computer Programming Notes

______________________________________________________________________
MySQL notes


MySQL, pronounced My-S-Q-L. It stores tabled data.


Make a backup of all databases:
# mysqldump -u root -p --all-databases  | gzip > FILENAME.sql.gz
It then asks for your mysql password


To restore all databases, unzip then:
# mysql -u root -p < FILENAME.sql


_____________________________________________________________________
Mathematica Notes


Load vector analysis package:

<< VectorAnalysis`

Divergence of unit vector rho-hat -> Div[{1,0,0}]

No comments:

Post a Comment