I am trying to recreate a MySQL database on a new domain. To do this, I am importing several .SQL text files into a new database. These files consist of SQL statements & they were created with a mysqldump type of function. (They consist of CREATE TABLE and INSERT statements). I am trying to accomplish this via SSH. Can someone help me with the proper SSH commands?
I tried
DBSERVER dbname < localhost/directory/filename.sql
but it says that the file doesn't exist. Any help with this would be greatly appreciated!
Thanks