I have a .txt file in which i have created database and tables. I want to run it on mysql command line window. I used the command source C:\Dbbut it failed to open it. Do i need to use some other command for it?
I have a .txt file in which i have created database and tables. I
Share
Your command has correct syntax and it should work if you really have file “c:\Db” and have permissions to read it. Maybe it’s C:\Db.txt or C:\Db.sql ?
As you are using Windows, please check Folder Settings to disable hiding filename extensions for known filetypes.