You need to select the Database either in your script or via command line.
If you're doing it via the command line, it would be this:

use dbname

where dbname is the name of your database.  If you're using a script, drop
this in:

$db = mysql_connect("$host", "$user","$pass");
mysql_select_db("$dbname",$db);

Where $host is the host name, $user is the username, $pass is the password
and $dbname is the database name.  Do not modify the $db unless you're
changing them both to another variable like $db_connect.

You would then proceed after this to do your database dump.



Regards,
Nick H.
[EMAIL PROTECTED]



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to