CodeIgniter Forums
Is MySQL access possible when running the PHP server? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Is MySQL access possible when running the PHP server? (/showthread.php?tid=83079)



Is MySQL access possible when running the PHP server? - thep - 09-17-2022

Hi, I'm developing locally, and am running CI from php -S localhost:8000

I also have MySQL installed with phpMyAdmin running on localhost/phpmyadmin

I created a db, table and simple id and message columns, entered a couple of rows of data and tried to pull them out into a CI view.

Betflik13