I am having serious headache with MySQL database. Here is my problem.
I am developing a website in Php with SQL Server as database, everything working fine. database 1
Than I have to change database to MySQL, I've done that and create some stored procedures and function, everything working fine here too. database 2
Now I've have to shift MySQL database to another MySQL server, database 3. Problem occurs here because now my old stored procedure and query which I've created are not working. My DB3 structure is same as DB2.
If I fire this query in DB2 select * from Online_Patient;
no error.
Same query in DB3 throws an error:
Error Code: 1146. Table 'Online_Patient' doesn't exist
But when I change my query to select * from online_patient;
it gives me correct result.
So is there any way to solve this error or do I have to change all query and stored procedures, there are dynamic query in stored procedure so just can't convert upper case to lower case.