Anarchosa Posted October 2, 2021 Share Posted October 2, 2021 bat dosyasında ; ; yazdığımda gelmiyor mysql ekranı açıkken SHOW DATABASES yazıyorum geliyor bunu bat'ın içinde nasıl yapabilirim ? Quote Link to comment Share on other sites More sharing options...
Anarchosa Posted October 2, 2021 Author Share Posted October 2, 2021 Kısacaıs CMD ekranında MySql Database Oluştmak İstiyorum. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted October 3, 2021 Editor Share Posted October 3, 2021 (edited) mysql -h serverip -ukullaniciadi -pparola -e "mysql komutu" Bu şekilde denermisiniz ? Buradaki -e parametresi execute anlamına gelmektedir , verdiğniiz sql komutunu çalıştırır. Sizin istediğinize örnek olarakta şunu deneyebilirsiniz. mysql.exe -u root -proot -e "CREATE DATABASE TESTDB" Edited October 3, 2021 by pairs 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.