HOW TO USE MYSQL in PhpDesktop?

7,245 views
Skip to first unread message

Michael Joseph Palencia

unread,
Oct 8, 2014, 9:22:04 AM10/8/14
to phpde...@googlegroups.com
Im having trouble using sqlite and other query language can anyone help me how to configure phpdesktop in using mysql database?
ive been doing a project not for distribution but for personal use only..
much help is more appreciated
thank you

Czarek Tomczak

unread,
Oct 8, 2014, 10:10:58 AM10/8/14
to phpde...@googlegroups.com
Mysql is not recommended to use with phpdesktop, as it is not portable, user needs to install it manually. There is nothing special with using mysql with phpdesktop, just connect to the database in php scripts as you normally do.

David

unread,
Aug 16, 2015, 6:36:16 PM8/16/15
to PHP Desktop
I have successfully integrated mysql into phpdesktop how ever i am getting a 404 error on page links. 

if i use the code
<?php echo base_url("/product_categories");?>"><img src="<?php echo base_url("uploads/admin/examples/banner.gif");?> 

i get a 404 error any ideas am i missing something?

chav...@gmail.com

unread,
Aug 25, 2015, 1:45:49 PM8/25/15
to PHP Desktop
Can you help me? How can I integrate mysql in phpDesktop?

Thanks in advance!!!

David

unread,
Aug 25, 2015, 9:15:12 PM8/25/15
to PHP Desktop
Send me an email and I'll send you a download link

aate...@gmail.com

unread,
Feb 27, 2016, 5:47:14 PM2/27/16
to PHP Desktop
please can you send me the download link aate...@gmail.com

eng.usa...@gmail.com

unread,
Apr 9, 2016, 2:00:48 PM4/9/16
to PHP Desktop
@David please can you send me the download link eng.usa...@gmail.com

c.a...@gmail.com

unread,
May 6, 2016, 6:40:07 AM5/6/16
to PHP Desktop
Please could you send me a link also? to c.a...@gmail.com
Thanks.

dver...@googlemail.com

unread,
May 12, 2016, 5:13:36 AM5/12/16
to PHP Desktop
For singleuser applications is MySQL to big and heavy. In this case use SQLite. You can MySQL for use in a multiuser environment. In this case install the MySQL-Server on a central servermashine and connect on it with the established way in php. But remember the accessdata to your database are stored in plaintext in the php-files. Encrypt the data in extra files, if you are using the software with other users.

Have you updated your PHP-Version with a newer from http://windows.php.net/ , then change the extension_dir option in the php.ini to "ext" and uncomment every databaseextension you need. For SQLite extension=php_pdo_sqlite.dll or extension=php_sqlite3.dll. For MySQL extension=php_pdo_mysql.dll or extension=php_mysqli.dll. For PostgreSQL extension=php_pdo_pgsql.dll or extension=php_pgsql.dll.

Sorry for my bad english. But i hope that i could help and we have a central answer as reference.

raviar...@gmail.com

unread,
Oct 17, 2016, 8:00:38 AM10/17/16
to PHP Desktop
how can i establish database connection on it through mysql ??

Tiago Luis

unread,
Jan 12, 2017, 6:28:15 AM1/12/17
to PHP Desktop
please can you send me the download link tiago.c...@hmail.com

quadri...@gmail.com

unread,
Feb 16, 2017, 5:15:44 AM2/16/17
to PHP Desktop
Please send the download link to gani...@gmail.com too. Thanks in anticipation.

bingo....@gmail.com

unread,
Mar 1, 2017, 8:47:09 AM3/1/17
to PHP Desktop
David Please send me a download link - bingo....@gmail.com
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Czarek Tomczak.

unread,
Mar 2, 2017, 1:50:59 AM3/2/17
to PHP Desktop
Please do not post tiny urls on this forum. Also do not paste direct links to downloads, instead post a link to a page that describes what is to be downloaded.
Message has been deleted

iasociados...@gmail.com

unread,
Mar 2, 2017, 12:34:10 PM3/2/17
to PHP Desktop

Sorry, I correct my post...
===============================

mysql drivers is included in php ... then..

connect to mysql in php desktop is very easy ..

1. download mysql server and install
original server here..
https://mysql.com/


or this other... Apache friends include a portable mysql distro
with batch files to start and stop service..
https://www.apachefriends.org/


2. replace php.ini file in /php/ directory for this code:


; ==================================

; Extensions
extension_dir = "./ext"
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_sqlite3.dll
extension=php_com_dotnet.dll
extension=php_mbstring.dll

; Date
date.timezone=Europe/Berlin


; Errors
error_reporting=E_ALL
display_errors=On
display_startup_errors=On
log_errors=Off
report_memleaks=On
report_zend_debug=On

; General
short_open_tag=On
ignore_user_abort=Off
implicit_flush=Off
output_buffering=0
default_charset = "UTF-8"

; Execution time
max_execution_time=30

; Memory
memory_limit=256M

; File uploads
; "post_max_size" must be equal or bigger than "upload_max_filesize"
max_file_uploads=20
upload_max_filesize=2048M
post_max_size=2048M

; ==================================


3. connect to mysql .. using PDO php (very very portable code)
https://phpdelusions.net/pdo

Note: Mysql haves a restrictive license.

Other sql engine is postgresql
and you license is very friendly with comercial projects..

download postgresql portable...
http://gareth.flowers/postgresql-portable/


to connect use a default settings..

host: localhost port: 5432
user : postgres
password:


The best tool to manage SQL databases is...
Dbeaver

https://github.com/serge-rider/dbeaver/

contact.one...@gmail.com

unread,
Mar 15, 2017, 12:05:32 PM3/15/17
to PHP Desktop
It is a little late, but can y send me an email to contact.one...@gmail.com ? thanks in advance!

devdu...@gmail.com

unread,
Apr 6, 2017, 5:24:47 PM4/6/17
to PHP Desktop
devdu...@gmail.com please send me the link

robbykurn...@gmail.com

unread,
Apr 21, 2017, 9:08:25 PM4/21/17
to PHP Desktop
Hello David.. me too, can u send to my email. this robikurn...@gmail.com .. thanks.

Midhun Puthenpurackal

unread,
May 18, 2017, 1:52:08 AM5/18/17
to PHP Desktop
please send email with the link, midhun.put...@gmail.com. I need to connect with database in my application.

akhil...@gmail.com

unread,
Jul 30, 2017, 2:15:57 AM7/30/17
to PHP Desktop
Send me download link : akhil...@gmail.com

tahseen...@gmail.com

unread,
Aug 10, 2017, 3:47:11 AM8/10/17
to PHP Desktop
hello david please send me the download link.i really need it. thanks

svtpa...@gmail.com

unread,
Aug 27, 2017, 3:57:02 PM8/27/17
to PHP Desktop
Hi,
I was using php desktop for one of my client.
he had the website developed in code igniter with mysql.

We tried to port the website to use sqlite but most of the queries had issues.

finally I found the solution to embedded the mysql into the distribution.
Had to write new startup exe that first start mysql server and then start the php chrome.

We were able to bundle the app into a single installer using nsis scripts.

I will publish details when i could find time.

my email is: svtpa...@gmail.com

chanders...@gmail.com

unread,
Sep 20, 2017, 9:25:16 AM9/20/17
to PHP Desktop
Please send me download link on chanders...@gmail.com
because i want to learn how to convert in .exe file with mysql database from
php web application.

Thank you so much

chanders...@gmail.com

unread,
Sep 20, 2017, 9:28:03 AM9/20/17
to PHP Desktop
Please share me your knowledge about php web application convert into .exe file.

aul...@gmail.com

unread,
Sep 26, 2017, 10:39:45 PM9/26/17
to PHP Desktop
Can you send me a link about how to integrate mySQL to php desktop

zape...@gmail.com

unread,
Sep 29, 2017, 2:55:26 PM9/29/17
to PHP Desktop
@David

Could you please send me the link for the mysql download?

patelj...@gmail.com

unread,
Oct 9, 2017, 8:54:31 AM10/9/17
to PHP Desktop
https://groups.google.com/forum/#!topic/phpdesktop/E4Rl32sWrqM

Please let me know how can I do this.

Thanks.

jenil patel

unread,
Oct 11, 2017, 3:27:22 AM10/11/17
to PHP Desktop
please send me the link

Czarek Tomczak

unread,
Oct 18, 2017, 12:21:46 AM10/18/17
to PHP Desktop
Just stumbled upon PHPBrowserBox which embeds Apache/PHP/MySQL in a standalone app, anyone been using it? It's not open source, but seems to be free, see: http://phpbrowserbox.com/

TW

unread,
Oct 18, 2017, 1:36:48 AM10/18/17
to PHP Desktop
Been using phpbrowserbox from Africoders for few years. Updated fairly often and pretty solid.

abhima...@gmail.com

unread,
Oct 31, 2017, 2:09:43 AM10/31/17
to PHP Desktop
hi David would you like to send me the link to my email id abhima...@gmail.com

mehmetk...@gmail.com

unread,
Nov 14, 2017, 8:14:37 AM11/14/17
to PHP Desktop
please can you send me the download link

tego...@gmail.com

unread,
Nov 29, 2017, 8:25:47 AM11/29/17
to PHP Desktop
Hello David please can you send the link to my mail teg...@gmail.com. Thanks

shashi...@gmail.com

unread,
Dec 1, 2017, 6:24:42 AM12/1/17
to PHP Desktop
Hello David please can you send the link to my mail shashi...@gmail.com Thanx..

f.ainfo...@gmail.com

unread,
Dec 2, 2017, 9:38:58 AM12/2/17
to PHP Desktop
basta instalar o mysql versão comunidade que roda perfeitamente! eu uso assim!

rajeev...@gmail.com

unread,
Dec 21, 2017, 7:33:53 AM12/21/17
to PHP Desktop
Hello David please can you send the link to my mail ra...........@gmail.com.

Thanks

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages