I've saved a database table (contents and structure) as an .sql file via phpmyadmin. This table was in a local database on my machine, but I need it moved to a remote server now. Should I use mysqlimport to import the .sql file into the remote database? I'm missing how to write the correct syntax at the telnet command line. Any nudges in the right direction are appreciated!
M
You can use phpmyadmin on the remote machine as well and just copy/paste the contents of your sql file in the SQL field in phpmyadmin and then execute it.
Though if you have exported a large database, then you might also consider using MySQL directly. You can type something like this in the shell:
mysql -uuser_name -p database_name < yourfile.sql