STEPS FOR TERMINAL VIA DATABASE UPLOAD IN MYSQL
- First put the database file in home folder
- And, Create the new database name in phpmyadmin
- Then, Goto Terminal go as sudo su and give password
- Then, give the following command
- mysql -u root -p -h localhost database_name_here < Yourdatabase.sql
- Then in terminal they ask password ,give correct password .it work nice
No comments:
Post a Comment