... change the name of a database? I have copied a database for backup and now I need to rename it to something else. I've tried renaming via myphpadmin and it says I don't have permissions to rename.
Thanks in advance!
This is a discussion on How do I... in the Shared & Semi-Dedicated forum
... change the name of a database? I have copied a database for backup and now I need to rename it to something else. I've ...
... change the name of a database? I have copied a database for backup and now I need to rename it to something else. I've tried renaming via myphpadmin and it says I don't have permissions to rename.
Thanks in advance!
Hrm...
I guess I would do a dump, delete the old db, make a new one, then import the data into it...
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
That will work fine unless your database file is approx. 35mb. Then that won't work. I just thought that if I could rename the database it would be the easiest.
I do't think you can rename the databse yourself, but support might be able to. Never hurts to open a ticket and ask.
--Jason
Thanks, I'll give it a try...
Ah, okay... you must be using the phpMyAdmin in cPanel. That's the problem...Originally Posted by DSD
![]()
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Yep, I'm using phpmyadmin in cpanel.
What way were you talking about?
I don't think asking support to rename the database is a good idea: renaming a DB using direct access to MySQL might confuse CPanel and mess things up.
SSH into your account and make DB dump using command line utility called 'mysqldump'.
Then create a new DB via control panel and import the dump into the new database.
Copyright © 2011 JaguarPC.com
Bookmarks