[fpc-pascal] Insert into ... mysql

John Coppens john at jcoppens.com
Mon Jun 29 05:34:57 CEST 2009

On Sun, 28 Jun 2009 15:42:04 -0500
C├ęsar Espinoza <cesarespinozasoto at gmail.com> wrote:

> But I can't (may be I dont know :-( ) insert data in a table

If you can query, but not insert, there are a few things to check:

- Is the syntax of your insert correct? I mean, does column 'lugar' exist,
  and is it a varchar column, etc.?
- Are you allowed to insert? (Check the privileges for the person
  as who you log in. Insert, update, select, all have separate 'enables')
- What is the message returned by mysql_error?


More information about the fpc-pascal mailing list