RE: [PHP] Batch job in UNIX.
| From: | Don Read | Date: | Thu, 05 Jul 2001 16:59:56 +0000 |
| Subject: | RE: [PHP] Batch job in UNIX. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56335@lists.php.net to get a copy of this message | ||
On 05-Jul-01 Johan Vikerskog (ECS) wrote:
> If i want to add something into a table with just the mysql command.
> Is this possible.
>
> Like
> ./mysql -p -u root test "insert into..."
mysql -e "cmd"
mysql -B "cmd"
mysql < somescript.sql
cat many*.sql | mysql
-- also look at --
mysql --help
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.