Jump to content

[Solved] Creating a database through SQL commands


orange77

Recommended Posts

Is it possible to create a database through MySQL commands using PHP here? Look at this situation: I want the clients to create a database with the click of a button, containing several preset tables, using SQL commands inside PDOs in PHP. That being said, I want those databases to be created automatically, because this is part of a customized simple application.

Edited by orange77
Link to comment
Share on other sites

This is not supported on the cPanel servers. Our Windows server Lily should support it, but if you went that route, there is no user interface or other way to really change any settings. Users only get FTP access and PhpMyAdmin on that server.

 

A PHP application will run there though, assuming it's compatible with IIS...

Link to comment
Share on other sites

This is not supported on the cPanel servers. Our Windows server Lily should support it, but if you went that route, there is no user interface or other way to really change any settings. Users only get FTP access and PhpMyAdmin on that server.

 

A PHP application will run there though, assuming it's compatible with IIS...

No problem. I don't use IIS. But could you give me an example?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...