View Single Post
Old 01-21-2004, 09:34 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote