Mysql upload sql in ssh
Hihow can i upload a sql file in ssh with root access? i know that i can do
mysql -uUSERNAME -pPASSWORD DATABASE_NAME < YOUR_FILE/YOUR_FILE.sql
but if i only know the db name and i have root access on the server how can i do?
thx