There is no easy way to rename a database in MySQL. But there are a couple ways it can be done.
October 13th, 2011
PHP 5.3 complaining about insecure authentication with MySQL 4.1+
No Comments, MySQL, PHP, by Joakim Ling.A lot of you have recently upgraded to PHP5.3, and one of the new things is the MySQL connection. If you are using the old authentication you will have to update your password encryption. Otherwise it will throw a warning and not able to connect.
This is how you can find a string in a certain field and replace it with another string