creating tables with scripts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

creating tables with scripts

Postby riggers » 22. September 2012 16:21

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?
Posts: 12
Joined: 16. September 2012 01:05
XAMPP Version: 5.6.3
Operating System: windows

Re: creating tables with scripts

Postby Altrea » 22. September 2012 17:45

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,
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
AF Moderator
Posts: 7027
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests