Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- How can i create a database using PHP and MySQL?


rocknbil - 5:30 pm on Nov 28, 2011 (gmt 0)


In **most** systems, creating a database requires you do so as the root user of the domain (or a user with create database permissions, such as the "cpanel user") - which is a very dangerous thing to put in a script. This is why most open source CMS's, shopping carts, whatever, that connect to a database ask you to enter the user, password, and database name as the first step of installing their software.


Thread source:: http://www.webmasterworld.com/php/4391234.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com