Import MySQL databases with command line
Open your command line and type:
mysql -p -u dbUserName dbName < fileName.sql
Example
mysql -p -u root users < usersFile.sql
You need to type your database password and that's it
Written by Yesi D
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#