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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -