Hi Arief !
Well, you should use PhpMyAdmin who can do many usefull things.
Like rename, optimize, make requests etc ...
(If you're in local. Some providers refuse this.)
http://phpmyadmin.sourceforge.net/
Or see the ALTER TABLE function in the doc.
bye
Fabien.
Arief Fajar Nursyamsu a écrit :
On Thu, Sep 20, 2001 at 05:04:37AM +0700, Arief Fajar Nursyamsu wrote:
> Can I rename a database name ?
I don't know what database you are using, but you should be able to do
something like this with most of them.
Do a backup of the database.
Create a new database with the new name.
Restore the
> > Can I rename a database name ?
> There is no command to do so. Have you tried simply renaming
> the files and sub-directory where the database files are located?
> I've not tried that.
Simply renaming could be dangerous.
You can do this:
mysqldump old_database_name > old_database_name.tx
bject: [PHP-DB] Renaming a database name...
Dear All...
Can I rename a database name ?
Regards
rief
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
Dear All...
Can I rename a database name ?
Regards
rief
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]