0
我正在使用在Ubuntu機器上的Windows機器上創建的MySQL模式。但是,當我的應用程序試圖訪問數據庫,我收到了如何在Linux環境中禁用區分大小寫
Table 'schema.Booking' doesn't exist
如何禁用這使存儲過程不區分大小寫?
我正在使用在Ubuntu機器上的Windows機器上創建的MySQL模式。但是,當我的應用程序試圖訪問數據庫,我收到了如何在Linux環境中禁用區分大小寫
Table 'schema.Booking' doesn't exist
如何禁用這使存儲過程不區分大小寫?
在Unix上使用lower_case_table_names = 0,在Windows上使用lower_case_table_names = 2。這保留了數據庫和表名的字母大小寫。這樣做的缺點是,您必須確保您的語句始終在Windows上使用正確的lettercase引用數據庫和表名。如果你將你的語句轉移到Unix中,那麼lettercase是有意義的,如果這個casecase是不正確的,它們就不起作用。
參見:http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html
http://stackoverflow.com/questions/11165944/how-to-change-mysql-table-names-in-linux-server-to-be-case-insensitive –
你的應用程序是用....語言編寫的? – maurelio79