Getting database connection error in php desktop

99 views
Skip to first unread message

Muhammad Uzair

unread,
Apr 6, 2023, 5:09:49 AM4/6/23
to PHP Desktop
I have installed php desktop to convert my laravel point of sale into desktop app. I updated php version but know i am getting database connection error please guide me how to solve it error.PNG

Ahmed Salifou

unread,
Apr 9, 2023, 10:56:29 AM4/9/23
to PHP Desktop
You cannot use MySql. Use SQLite instead

alu card

unread,
Apr 12, 2023, 12:48:23 PM4/12/23
to PHP Desktop
Actually under CodeIgniter i managed to link to my database mariaDB mysql it has to be installed and run as service, i like more this approach so i can use MySQL as it full potentiel, like i want to stock as JSON with verification.
So you can do it but you need to configure first your database then luch it in the proper port (3306 by default convention )

umair khaan

unread,
Apr 13, 2023, 4:13:01 PM4/13/23
to PHP Desktop
Make a simple configuration file for the preloading database, you will find the way out. Or let me know if it won't work.
Reply all
Reply to author
Forward
0 new messages