How to execute using MySQL instead of SQLite?
9 years ago.
Hi, I tried executing this project and succeeded in doing so using SQLite. It was working perfectly fine. But when I tried using MySQL in WAMP, it was displaying fatal error in 'Doctor' tab and grid was not loading in 'Manager' tab. However, it was displaying normal in 'Patient' tab.
1. I followed your instructions and changed database connection settings username(as 'root') and password(as blank) details in _db.php file.
2. My localhost is working on port 80, so I changed that bit too (Am I supposed to do so?).
3. And there are tiny changes like deleting one ' at the end of $db->exec("CREATE DATABASE IF NOT EXISTS '$database' ' "); and $db->exec("use '$database' ' "); as I thought they were extra.
I google-d the error and changed key_buffer_size and max_allowed_packet values at C:\wamp64\bin\mysql\mysql5.7.14\my.ini.
I also attached the error screen shot for your reference. Could you please tell me where I am going wrong.
DayPilot