There are a few things that will need to be transferred:
- The MySQL dump
- The OCS installation
- The files directory
To transfer the MySQL dump, use the "mysqldump" tool on the machine you're moving from:
- Code: Select all
mysqldump -u [mysql_username_here] -p [mysql_database_name_here] > dump-file.sql
This will create a file called dump-file.sql that you should be able to import into phpMyAdmin. Then verify that the database connection parameters are correct in config.inc.php.
As for the OCS install and files path, you should be able to FTP those directly over onto the server; just make sure that the new files path is correctly configured in your config.inc.php file. Make sure that the files path isn't web-accessible, or else OJS's security measures will be easily circumvented.
Public Knowledge Project Team