Re: SQL Statments?

From: Date: Tue, 06 Feb 2001 01:34:35 +0000
Subject: Re: SQL Statments?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38344@lists.php.net to get a copy of this message
On Tue, 6 Feb 2001 11:49, Jonathan Sharp wrote: > If I have a text file with all my sql statements (from like say > mysqldump) what's the easiest way of passing them to mysql? I'm on > RedHat6.2 with mysql 3.22.32 > > Thanks, > -Jonathan Assuming you want to recreate tables from the dump and assuming you have created the necessary database, you can simply do this on the command line mysql database < your_mysqldump_file or you can nominate the file in the data import part of phpMyAdmin -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#38344) next »