How to import sql file to mysql with command | Mysql console

preview_player
Показать описание
In this video I am showing you how to import sql files with mysql command with xampp in windows

run cmd and go to mysql path. Usually its something like this:

# C:\xampp\mysql\bin

then hit this code (smaller than sign is not allowed to type in youtube description so you just put "that sign")

root is username of database and because i dont have password of database i left -p section empty. If you have password on your database change that code with -p mypassword
Рекомендации по теме