Hi. The code that produces the "Unable to find connect.php file" error is the following:
PHP Code:
if (is_file("$relative_script_path/includes/connect.php")) {
include "$relative_script_path/includes/connect.php";
}
else {
die("Unable to find connect.php file.\n");
}
Check that there is a connect.php file in the includes directory.
The second error you list is because no username/password has been passed in the command. Try the following instead:
Code:
mysql -u USERNAME -pPASSWORD DATABASE < FILENAME.sql