note 69265 added to function.mysql-create-db
| From: | zubrag at osu1 dot php dot net | Date: | Tue, 29 Aug 2006 10:03:56 +0000 |
| Subject: | note 69265 added to function.mysql-create-db | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116459@lists.php.net to get a copy of this message | ||
mysql_create_db function will not work on cPanel hosting. If you need to create database from your
PHP script on cPanel hosted server then you'll need to use cPanel interface. Database creation
code would look like (calling cPanel's adddb function): http://USER:PASS@HOST:2082/frontend/SKIN/sql/adddb.html?db=DB
You can download ready-made sample php script from http://www.zubrag.com/scripts/cpanel-database-creator.php
----
Server IP: 195.248.191.91
Probable Submitter: 195.160.234.1 (proxied: 192.168.11.47)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mysql-create-db.php
Edit -- https://master.php.net/note/edit/69265
Del: integrated -- https://master.php.net/note/delete/69265/integrated
Del: useless -- https://master.php.net/note/delete/69265/useless
Del: bad code -- https://master.php.net/note/delete/69265/bad+code
Del: spam -- https://master.php.net/note/delete/69265/spam
Del: non-english -- https://master.php.net/note/delete/69265/non-english
Del: in docs -- https://master.php.net/note/delete/69265/in+docs
Del: other reasons-- https://master.php.net/note/delete/69265
Reject -- https://master.php.net/note/reject/69265
Search -- https://master.php.net/manage/user-notes.php