Jump to content

Newbie Going Out Of His Mind


Cav

Recommended Posts

I am using a windows pc with xampp and I am trying to import a sql file into a mysql database through the terminal and I have looked through various forums and have came up with nothing this is what I have been using, I have tried log in the terminal and while logged out and it dosen't work , it say syntax error while I am logged in and when I try it when I am logged out it says It can't find the file even through I put in the full path name C:\mysql\data\query_file.sql

mysql -u username -ppassword < query_file.sql
Hope someone can help
Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...