🎉 سال نو، مهارت نو، مشاوره رایگان نقشه راه برنامه نویسی (آفر ویژه ثبت نام قبل از افزایش قیمت 🔥)
۰ ثانیه
۰ دقیقه
۰ ساعت
۱ amirhossein sefidgar
خطای کامند لاین در اتصال
امیر صالحی حل شده توسط امیر صالحی
mysql : The term 'mysql' is not recognized as the name of a cmdlet, function, script file, or operable program. Check 
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ mysql -h localhost -u root -p
+ ~~~~~
   + CategoryInfo          : ObjectNotFound: (mysql:String) [], CommandNotFoundException
   + FullyQualifiedErrorId : CommandNotFoundException

 

بعد از زدن خط کد مربوط به اتصال به دیتابیس این خطا را میبینم لازم به ذکر است که mysql زمپ روشن است و حتی powershell را run as adminstrator هم کردم ولی درست نشد

درود

کامند mysql رو نمیشناسه، این ویدیو رو دنبال کنید تا مشکلتون حل بشه https://www.youtube.com/watch?v=-rzQv9DLfDo

بهترین پاسخ
امیر صالحی ۱۵ شهریور ۱۴۰۰، ۱۷:۲۶