Re: [fpc-pascal] remote mysql connection

2008-02-13 Thread Wolfram Kläger
// Mattias Gaertner, 13.02.2008 19:51 >> plink ... -L 3306:127.0.0.1:3306 ... > > Maybe > plink ... -L 3306:server_name:3306 ... > > ? You mean 'localhost'? Fails, too. FPC still returns 'EDatabaseError, Server connect failed.' and in the plink window I see an additional 'Opening forwarded co

Re: [fpc-pascal] remote mysql connection

2008-02-13 Thread Mattias Gaertner
On Wed, 13 Feb 2008 19:20:59 +0100 Wolfram Kläger <[EMAIL PROTECTED]> wrote: > // Michael Van Canneyt, 12.02.2008 20:08 > > > > On Tue, 12 Feb 2008, Wolfram Kläger wrote: > > > >> I am trying to get access to a remote MySQL database via sqldb and > >> mysql50conn, ending up with 'EDatabaseErro

Re: [fpc-pascal] remote mysql connection

2008-02-13 Thread Leonardo M. Ram
, I doubt a shared hosting allows him to connect via SSH. Leonardo. --- Wolfram Kläger <[EMAIL PROTECTED]> wrote: > // Michael Van Canneyt, 12.02.2008 20:08 > > > > On Tue, 12 Feb 2008, Wolfram Kläger wrote: > > > >> I am trying to get access to a remote MySQL database via sqldb and > >>

Re: [fpc-pascal] remote mysql connection

2008-02-13 Thread Wolfram Kläger
// Michael Van Canneyt, 12.02.2008 20:08 > > On Tue, 12 Feb 2008, Wolfram Kläger wrote: > >> I am trying to get access to a remote MySQL database via sqldb and >> mysql50conn, ending up with 'EDatabaseError, Server connect failed.' ... > Make sure that > a) the mysql server is listening to remo

Re: [fpc-pascal] remote mysql connection

2008-02-12 Thread Leonardo M. Ram
Are you trying to connect to a MySql server included in a Shared Hosting account? In most cases, those servers doesn't allow remote MySql connection, just from localhost (local to the remote server). With that, you can use a CGI script located inside the shared host and connect to MySql. An al

Re: [fpc-pascal] remote mysql connection

2008-02-12 Thread Michael Van Canneyt
On Tue, 12 Feb 2008, Wolfram Kläger wrote: > I am trying to get access to a remote MySQL database via sqldb and > mysql50conn, ending up with 'EDatabaseError, Server connect failed.' > > Probably naive to assume, the fcl-db units work with a remote server as > well as with localhost. For FTP u

[fpc-pascal] remote mysql connection

2008-02-12 Thread Wolfram Kläger
I am trying to get access to a remote MySQL database via sqldb and mysql50conn, ending up with 'EDatabaseError, Server connect failed.' Probably naive to assume, the fcl-db units work with a remote server as well as with localhost. For FTP up-/downloads I am using the Synapse toolkit successfully.