Are you able to activate your network service ?
You can transfer them off the server using the network.
If you want to dump all the databases to a text file, use the
mysqldump command.
There are many options, so take a look at the MAN page.
Code:
mysqldump --all-databases > databases.sql