Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-03 Thread Symeon Breen
2011 09:55 To: u2-users@listserver.u2ug.org Subject: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ? Hi group, I'm looking for your experiences... >From Universe/linux, I'll execute a mySQL sql phrase. mySQL is installed on a remote server. - What is the mysql-client to

Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-03 Thread George Gallen
mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Monday, October 03, 2011 10:02 AM To: U2 Users List Subject: Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ? This is what I do HOSTNAME="" ; * example: http://servername (assumes port 3306) otherwise a

Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-03 Thread George Gallen
NEXT T * DELETE F.TMP,"MYSQLCMD":USRNO When completed: RESULT will have a 2 dimensioned Dynamic array - with the X dimension being the columns, and the Y dimension being the Rows ERRORS will have any messages from the database -Original Message- From: u2-users-boun...@listserver.

Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-02 Thread Kevin King
To followup to what Tony said, we do this with PHP by creating a JSON-formatted extract out of Unidata, then ftp it to the other system, then use Apache to kick off a job to post the file into MySQL and PostgreSQL. Works like a champ for small to medium data sets. For large datasets we do somethin

Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-02 Thread Tony Gravagno
The easy answer is to pretend you're doing this from a web page, where the MP in LAMP is MySQL and PHP. From there you have a world full of answers rather than something U2-specific. Note that most shared hosts don't have a MySQL DBMS on the same system as the HTTP servers. They almost Always se

Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-01 Thread Bob Little
I believe you'll need an ODBC driver for MySQL. You would then use the syntax described in UniVerse's Basic Calling Interface (BCI) documentation. On Sat, Oct 1, 2011 at 4:55 AM, Manu Fernandes wrote: > Hi group, > > I'm looking for your experiences... > > >From Universe/linux, I'll execute a

[U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?

2011-10-01 Thread Manu Fernandes
Hi group, I'm looking for your experiences... >From Universe/linux, I'll execute a mySQL sql phrase. mySQL is installed on a remote server. - What is the mysql-client to be installed beside Universe ? - How to execute a sql-phrase from UV/BASIC ? and capture the result !? Thanks for any advice