![]() |
Creating a DB
How do I make a php script to automatically make a database when ran? Say I want to create a database called "database."
Would I have to include the db username and password to grant the script permission to create the database? thanks. |
anyone?! :)
|
<a href="http://www.php.net/manual/en/function.mysql-create-db.php" target="_blank">http://www.php.net/manual/en/functio...-create-db.php</a> , then, since I don't see anything like mysql_grant try exec'ing the actual command to GRANT a user access.
|
All times are GMT. The time now is 10:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|