C
C#2y ago
morry329#

❔ Bash ! event not found

I am going through a tutorial to create a Web API app with ASP.NET6 and MySql. I wanted to scaffold my Sql Database. I entered a following command into the terminal on Rider:
Scaffold-DbContext "server=127.0.0.1;port=3306;user=root;password=MyPASS!;database=databasename" MySql.EntityFrameworkCore -OutputDir Entities -f
Scaffold-DbContext "server=127.0.0.1;port=3306;user=root;password=MyPASS!;database=databasename" MySql.EntityFrameworkCore -OutputDir Entities -f
` And it only give me this error:
bash: !: event not found
bash: !: event not found
` Shall I regenerate a password without ! or what triggered this error? Any insights much appreciated.
2 Replies
morry329#
morry329#2y ago
It gave me command not foundjust now. Probably I am in the wrong file path or something? Or maybe I am trying to enter this command into the wrong place I guess. The tutorial I am working on is written for VS users (This command should be typed into Package Manager Console), but I am working with Rider. So things are bit different here in my uneducated opinion I think so but I am not 100% sure Will do
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.