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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -