Jump to content

Recommended Posts

Hi I am trying to install a script, to run it i need to create a database with a specific name, but my web hosting only provides me with random generated database names that i cant change.

 

Is there a possibility that I can replace the database name on the script with a random generated database name, if yes, how can I do it?

 

thank you.

???

Link to comment
https://forums.phpfreaks.com/topic/44181-database-name/
Share on other sites

no you can't do that. the only way to "change" a database name is to export all of your data, drop that database, name a new one with the name you want, and import the data. Why can't you just use the one that they gave you?

 

If you want to make your own names you would have to find a company that gives you full control over your MySQL.

Link to comment
https://forums.phpfreaks.com/topic/44181-database-name/#findComment-214541
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.