MySQL Dump

From: Date: Mon, 10 Feb 2003 20:39:44 +0000
Subject: MySQL Dump
Groups: php.windows 
Request: Send a blank email to php-windows+get-18441@lists.php.net to get a copy of this message
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. nickh@supportteam.net

« previous php.windows (#18441) next »