Odd behaviour - creating mysql DB and table at random
Posted: Sun Aug 21, 2011 1:36 pm
Hi everyone,
I have a script that contains the self explanatory functions createDB and createTable ( the first creates a database and the second creates a table within it ). In the past these have worked sequentially to create a DB and table during a single script run ( the expected behaviour ). I am noticing that sometimes the createDB function does not work and sometimes createTable does not work, but sometimes they do. I can't figure out why they don't work together every time. They almost never work together. Has anyone seen this behavior ? I am using the pdo extension.
Thank you,
KC
I have a script that contains the self explanatory functions createDB and createTable ( the first creates a database and the second creates a table within it ). In the past these have worked sequentially to create a DB and table during a single script run ( the expected behaviour ). I am noticing that sometimes the createDB function does not work and sometimes createTable does not work, but sometimes they do. I can't figure out why they don't work together every time. They almost never work together. Has anyone seen this behavior ? I am using the pdo extension.
Thank you,
KC