Database Migrate Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Database Migrate Problem (/showthread.php?tid=77926) |
Database Migrate Problem - rmiller9205 - 11-05-2020 Hi everyone, I'm try to use myth-auth, in my local machine it work fine, i run php spark migrate -all, and migrate controller, both work fine on my local machine. The problem is on my production server, i cant use ssh to run cli, and i try migrate controller but doesnt work, i have try this 2 codes on the controller. PHP Code: try{ and this other PHP Code: try{ Do I need some other configuration on my production server? Best regards. RE: Database Migrate Problem - captain-sensible - 11-05-2020 there is one lateral thinking solution - you might like it ,maybe though not a lot. I use sqlite database which is just a file - no database daemon needed. if you used sqlite , and migrated to it locally then all you would have to do is use cPanel and upload the sqlite database file to the to live server ( as long as you also configured live to use sqlite) . You would then find that you could make use of all the populated data RE: Database Migrate Problem - InsiteFX - 11-05-2020 You can export your database install it on you local system do your migrations and then export and import in on your live server. If you re-create a controller upload that to the right place. RE: Database Migrate Problem - Nikhil09 - 11-16-2020 (11-05-2020, 01:58 AM)rmiller9205 Wrote: Hi everyone, RE: Database Migrate Problem - tekrda - 12-01-2020 i'm also having problem with migration, migration runs successfully on CLI but it doesn't create any table except migration table which contains migration related detail. Any help? |