Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
wherever you like ... the "<" character is just a shell redirection, meaning it "feeds" the file "MYDATABASE.sql" as input to the command mysql. You can delete the original file after command execution, mysql stores the contents in its database files.
ok so I'm sitting here connected with putty to my new server. I haven't added any domains yet. I'm about to add my first domain name and the system will create it's database etc for me. Where do I upload this MYDATABASE.sql so I can insert it to the new database? Do I upload it in the new domain nanes root folder?
if so what would be my path public_html/MYDATABASE.sql
As above said, if you don't KNOW where you put the file, don't guess, find it. Anyway, your ftp tool should tell you where you are putting stuff....
Either cd to that dir or use the full absolute path.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.