over 4 years ago
To rename a database in MySQL you need to follow the steps given below:
Suppose we have a database emp which needed to renamed as employees. For this we will write the following MySQL statements using command line:
Step 1:Dump the emp by using following statement
mysqldump -u root -p emp > emp.sql
Step 2: Create new database employees
mysql -u root -p -e "create database employees"
Step 3:Restore the emp database to employees db
mysql -u root -p employees < emp.sql
Step 4:Drop the database emp
mysql -u root -p -e drop database emp
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
© copyright 2017 FindNerd.com. All rights reserved.
Sign up using