note 54678 deleted from ref.mysql by nlopess
| From: | nlopess@php.net | Date: | Tue, 12 Jul 2005 15:34:05 +0000 |
| Subject: | note 54678 deleted from ref.mysql by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91819@lists.php.net to get a copy of this message | ||
Note Submitter: dana
----
I'm trying to run a mysql script file through mysql_query command.
The script file contains the create table, alter table commands for my database.
$result=mysql_query("source file.sql");
But it's not creating the database.
Any suggestions on how to do that?
Thanks