Mar 22nd, 2010, 7:27 PM
Hey Ray,
Once upon a time I looked into doing that: having the script actually try creating the database, but it turned out that many (if not most) hosts don't give MySQL accounts permission to do it, so it wouldn't be possible in the majority of cases. At that point I abandoned the idea; all other PHP apps I've encountered take the same approach.
I think you may be out of luck, sorry!
- Ben
Once upon a time I looked into doing that: having the script actually try creating the database, but it turned out that many (if not most) hosts don't give MySQL accounts permission to do it, so it wouldn't be possible in the majority of cases. At that point I abandoned the idea; all other PHP apps I've encountered take the same approach.
I think you may be out of luck, sorry!
- Ben