It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.





Function F_create_database

Create new database. Existing database will be dropped. Oracle databases must be created manually (create the tcexam user and set the database name equal to user name)

Parameters summary
string $dbtype $host Database server path. It can also include a port number. e.g. "hostname:port" or a path to a local socket e.g. ":/path/to/socket" for the localhost. Note: Whenever you specify "localhost" or "localhost:port" as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use "" instead of "localhost". If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as mysql.default_host in your PHP configuration and leave the server field blank.
string $host $dbtype database type ('MYSQL' or 'POSTGREQL')
string $port $host database host
string $user $port database port
string $password $user Name of the user that owns the server process.
string $database $password Password of the user that owns the server process.
string $table_prefix $database Database name.
string $drop $table_prefix prefix for tables
boolean $create $drop if true drop existing database
boolean $create,… if true creates new database
Return value summary
database link identifier on success, FALSE otherwise.

© 2004-2022 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy