fruzzgle Posted June 3, 2006 Share Posted June 3, 2006 I know there is this thing you can download and in most hosting plans they have a php admin. With the php admin you can create new databases, tables, quaries, and all kinds of stuff. But the php Admin really confuses me and I think It would be a lot easyer If I did it all manually. Lets say I want to create a users database, how would I do this--What code is used to create new database (somthing like mysql_create_database or somthing).-And how do I run the code and create it. Do I make a new page for it and visit the page once- creating a new database?Thanks in Advanced. Link to comment https://forums.phpfreaks.com/topic/11124-manually-creating-databases/ Share on other sites More sharing options...
stephenk Posted June 4, 2006 Share Posted June 4, 2006 Some hosts won't allow you to create databases through a script. I know with mine anyway, they require you to use their control panel to create the databases, then I use PHPMyAdmin to control them.Stephen Link to comment https://forums.phpfreaks.com/topic/11124-manually-creating-databases/#findComment-41679 Share on other sites More sharing options...
fenway Posted June 4, 2006 Share Posted June 4, 2006 You should be able to write a PHP script do issue whatever DB statements you want, provided that you have a DB user with the appropriate credentials. Link to comment https://forums.phpfreaks.com/topic/11124-manually-creating-databases/#findComment-41781 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.