how to connect to a database like postgresql or mysql?
-
hiho cause i'm much more working on unix systems i just don't know how i can connect and do some SQL statements to a database like postgresql or mysql? for example, using linux i use libpq API with funktions like PQconnectdb or PQexec to connect or execute a query but how does this work under windows? can i use the same API on windows systems? i'm sure there are many guys here who know how this stuff works, but since i work most time with linux i just have no idea on how to do database programming on windows any articles or hints would be great thx@ll
-
hiho cause i'm much more working on unix systems i just don't know how i can connect and do some SQL statements to a database like postgresql or mysql? for example, using linux i use libpq API with funktions like PQconnectdb or PQexec to connect or execute a query but how does this work under windows? can i use the same API on windows systems? i'm sure there are many guys here who know how this stuff works, but since i work most time with linux i just have no idea on how to do database programming on windows any articles or hints would be great thx@ll
ThinkingPrometheus wrote:
but how does this work under windows?
See here.
"The largest fire starts but with the smallest spark." - David Crow
-
ThinkingPrometheus wrote:
but how does this work under windows?
See here.
"The largest fire starts but with the smallest spark." - David Crow
that seems a good resource but, just cause of interest: is there only odbc on windows? and for better understanding: is odbc just a API which is able to "talk" to databases? or can odbc do much more than just manage sql and its results? (i'm not sure about what i'm expecting, that's why i ask ;-) )
-
that seems a good resource but, just cause of interest: is there only odbc on windows? and for better understanding: is odbc just a API which is able to "talk" to databases? or can odbc do much more than just manage sql and its results? (i'm not sure about what i'm expecting, that's why i ask ;-) )
ThinkingPrometheus wrote:
is there only odbc on windows?
No. See here.
"The largest fire starts but with the smallest spark." - David Crow
-
hiho cause i'm much more working on unix systems i just don't know how i can connect and do some SQL statements to a database like postgresql or mysql? for example, using linux i use libpq API with funktions like PQconnectdb or PQexec to connect or execute a query but how does this work under windows? can i use the same API on windows systems? i'm sure there are many guys here who know how this stuff works, but since i work most time with linux i just have no idea on how to do database programming on windows any articles or hints would be great thx@ll
Did you Search Code Project Articles?[^] http://www.codeproject.com/database/dlgmysql.asp[^] ---------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters
-
hiho cause i'm much more working on unix systems i just don't know how i can connect and do some SQL statements to a database like postgresql or mysql? for example, using linux i use libpq API with funktions like PQconnectdb or PQexec to connect or execute a query but how does this work under windows? can i use the same API on windows systems? i'm sure there are many guys here who know how this stuff works, but since i work most time with linux i just have no idea on how to do database programming on windows any articles or hints would be great thx@ll