Re: SQL Statments?
| From: | Jason Brooke | Date: | Tue, 06 Feb 2001 01:33:50 +0000 |
| Subject: | Re: SQL Statments? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38343@lists.php.net to get a copy of this message | ||
> 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 your_database -u user -p
jason