I'm using putty to connect to my MySQL server.
I've a backup .sql file from which I want to create the tables on the server.
According to the link here restore backup mysql, I'm trying to perform this command
mysql -u username -p -h hostname databasename < dumpfile.sql
Now my question is,
- What is the 'hostname' here? Is it 'Localhost'?
- How do I find the correct path to my
dumpfile.sqlfile on the server which I have uploaded. Say for instance I've uploaded insidewww/apache/appname/?