Make CMD sensitive to use with MySQL?

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-05-24T04:59:18Z Indexed on 2010/05/24 5:00 UTC
Read the original article Hit count: 276

Filed under:
|
|
|

I have a cleanup scrip in a bat file and i wanted to do the below but the problem is i get a mysql error saying unknown database and showing it as testdb. I guess i can change my code testdb but i would like to know.

How do i have windows cmd use case sensitivity so i can execute queries properly instead of always in lower case?

mysql.exe -u root -q "drop database TestDB; create database TestDB;"

© Stack Overflow or respective owner

Related posts about mysql

Related posts about Windows