MySQL Forums
Forum List  »  Newbie

Re: what am i doing wrong?
Posted by: Felix Geerinckx
Date: July 28, 2005 08:59AM

fred harvey wrote:

> i am trying to install an ecommerce prog. it is php but uses mysql for database. should i post all
> the code? thx

Some MySQL clients (e.g. the Perl DBI and also PHP I believe) do not allow you to send multiple SQL statements (separated by a ';') to the server. However, if your sql code is in eg. file.sql, the following should work (from localhost):

mysql -uuser -ppassword yourdatabase <file.sql

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
July 28, 2005 08:09AM
July 28, 2005 08:35AM
July 28, 2005 08:45AM
Re: what am i doing wrong?
July 28, 2005 08:59AM
July 28, 2005 08:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.