mysql - Restore a database dump in ubuntu server -


my problem backup on desktop of windows , have restore on ubuntu server.so please suggest me command restoring. used mysql -u xxxx -pxxxx database < x.sql cant found file.

you need go ubuntu terminal.

then type

cd /home/{username}/desktop/ here username username machine u can see inside home

now u on desktop

then type

mysql -u xxx -pxxxx database < x.sql  

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -