Thanks guys but I have no idea what "SSH or Telnet" is or how to use this line
<?php
exec( "mysql -hOtherserv.com -uUsername -pPassword DB_NAME < file.sql " );
?>
-hOtherserv.com = the path to the other site?
-uUsername -pPassword= the username& pass of the old DB or new?
DB_NAME < file.sql = the new dbname or the old? file.sql = what? The path to the fiel on the old server, or on my local hard drive or what?
Do I run this on the old server or the one I am transfering the db to?
Which directory should this file be located?
Any other details a newb should be aware of to get this to work?
Thanks for the help! 😃