Page 1 of 1

creating tables with scripts

PostPosted: 22. September 2012 16:21
by riggers
HI there,
again this is probably a very basic simple problem.
i wrote a script, following the instructions from a tutorial ,to create an admin table in a database that i had created and the srcipt worked,i got my if message back database created.
i then followed the same proceedure to create another table and i got the else message back "table not created" i have tried several times.
i know i can build tables from the admin panel but need to know what i am doing wrong with the scripting can you help please?

Re: creating tables with scripts

PostPosted: 22. September 2012 17:45
by Altrea
Hi riggers,

Because you don't show is your sourcecode, we can just guess:
Are you using a database user with missing CREATE priviledges?

Do you take care of error output for database errors in your sourcecode?

best wishes,
Altrea