[PHP] SQL Statments?

2001-02-05 Thread Jonathan Sharp
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] SQL Statments?

2001-02-05 Thread Jason Brooke
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 I'm not sure about the easiest way, but definitely an easy way would be to simply do: cat filename | mysql

Re: [PHP] SQL Statments?

2001-02-05 Thread David Robley
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