Phonebook code with MySQL database
Moderator: Rathinagiri
- MigSoft
- Posts: 74
- Joined: Sat Aug 02, 2008 5:51 am
- DBs Used: DBF, MySQL, MariaDB, SQLite, PostgreSQL, FireBird
- Location: Santiago - Chile
- Contact:
Phonebook code with MySQL database
Hi,
Post code phonebook with MySQL database in http://migsoft.ml/2015/06/agenda-de-contactos-mysql
Post code phonebook with MySQL database in http://migsoft.ml/2015/06/agenda-de-contactos-mysql
- Attachments
-
- 2015-06-06_131341.jpg (51.8 KiB) Viewed 6084 times
Last edited by MigSoft on Tue Oct 29, 2019 3:34 am, edited 1 time in total.
Regards,
MigSoft.
MigSoft.
- serge_girard
- Posts: 3165
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Phonebook code with MySQL database
Thanks Miguel!
Serge
Serge
There's nothing you can do that can't be done...
Re: Phonebook code with MySQL database
Thank you for sharing
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Phonebook code with MySQL database
May be more useful for us ( HMG users ) pure-HMG and English version
I'm sure something like this isn't difficult for you, Miguel
Happy HMG'ing
I'm sure something like this isn't difficult for you, Miguel
Happy HMG'ing
Viva INTERNATIONAL HMG
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Phonebook code with MySQL database
Yo en particularidad, no preciso otro idioma para admirar el código fuente o la técnica empleada y si lo considero útil.
Este tu ejemplo insentiva al uso de MySQL y eso es muy bueno para abrir cabezas... (me incluyo).
Gracias Daniel por tu aporte y me gustaria verlo funcionando en HMG tambien.
Un gran abrazo
Este tu ejemplo insentiva al uso de MySQL y eso es muy bueno para abrir cabezas... (me incluyo).
Gracias Daniel por tu aporte y me gustaria verlo funcionando en HMG tambien.
Un gran abrazo
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Phonebook code with MySQL database
Nice, but
for an application of this type, when using only one table, the better solution is sqlite, everyone will work and only those who make the effort to raise mysql base
for an application of this type, when using only one table, the better solution is sqlite, everyone will work and only those who make the effort to raise mysql base
Last edited by dragancesu on Mon Jun 08, 2015 5:42 am, edited 1 time in total.
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Phonebook code with MySQL database
Rightly said about SQLite. By the way, it is easy to convert to SQLite.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Phonebook code with MySQL database
Gracias por compartir Miguel...
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Phonebook code with MySQL database
thank you for sharing
a probably silly question :
if we need to connect to mariaDb in an another Pc connected via internet ( for example a pc far far away from ours ) which lines have to be changed ?
and / or wich driver we have to use
regards
domenico
a probably silly question :
if we need to connect to mariaDb in an another Pc connected via internet ( for example a pc far far away from ours ) which lines have to be changed ?
and / or wich driver we have to use
regards
domenico
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Phonebook code with MySQL database
Code: Select all
*------------------------------------------------------------*
Function Main()
*------------------------------------------------------------*
Local i := 0
PUBLIC cServer := "localhost" /* this line is adress of server */
PUBLIC cUser := "root"
PUBLIC cPaswd := ""
oServer := TMySQLServer():New( cServer, cUser, cPaswd )
if oServer:NetErr()
oServer := Nil
msgstop( "Conexión no establecida","Error !!! ONE")
Return Nil
ENDIF
But server must enable remote connection