mysqli_sql_exception No such file or directory |
I just started learning codeigniter 4 and faced this problem. I searched a lot and tried some solutions but it is of no use
I am using Ubuntu [problem : ] mysqli_sql_exception No such file or directory
There can be a couple of things. A miss/match against your PHP and MySQL version. Or you simply don't have mysqli installed.
Can you show the code? Just remove the password of course.
Does it instantly die or when you do anything specific?
(04-14-2020, 11:37 AM)jreklund Wrote: Can you show the code? Just remove the password of course. it's simple code controler PHP Code: <?php namespace App\Controllers; model PHP Code: <?php view PHP Code: <!DOCTYPE html>
i found the Solution
codeigniter 4 don't working with xampp apache and mysql but when i installed apache2 and mysql without xampp everythings are worked successfully
(04-15-2020, 03:07 AM)GamalAbomera Wrote: i found the Solution I was also facing same issue and try different trick to fix but not working. You can believe there is very easy solution to solve this which i've applied. You just need to change host 'localhost' to '127.0.0.1' and go ahead. |
Welcome Guest, Not a member yet? Register Sign In |