On Wed, 2006-03-08 at 09:37 +0000, Panagiotis Sidiropoulos wrote:
> I try to connect into a MySQL server hosted on a local network. All
> comments following are related to information povided at:
> wiki.lazarus.freepascal.org/index.php/MySQLDatabases#Connect_to_a_server
> 
> >Another possibility is the installation of the package in the
> >$Lazarus/components/sqldb directory. In this directory you see a
> >package file called sqldblaz.lpk. You need to install this package and
> >the mysql4connlaz.lpk from the $Lazarus/components/sqldb/mysql
> >directory.
> 
> Package in /sqldb folder is succesfuly installed. Package
> mysql4connlaz.lpk is not found into /sqldb/mysql folder, this folder
> does not even exist. I suppose some merging happened here, I just need
> to know if it is enough to install main package found into /sqldb
> folder.

Yes, and maybe that you can update the wiki?

> >Note. In latest SVN version of Lazarus you will find 3 MySQLConnection
> >components. These are TMySQL40Connection, TMySQL41Connection and
> >TMySQL50Connection. Make sure you use the correct one to connect to
> >your server. So if you are running MySQL 4.1 use the
> >TMySQL41Connection.
> 
> After installing sql component packages, I get general use components,
> not related to a specific MySQL server version, not TMySQL40Connection
> found but TMySQLConnection etc.

Reading the WIKI-text above, you'll see immediately what's wrong: you're
not using the latest SVN version of Lazarus.

> What is the problem:
> TSQLConnection.Open raises an exception, not ".connected = false", just
> an exception.

Sorry, but I can't resist: 'I've written some code and it raises an
exception. Can anyone help me?'

What is the exception: 'Incorrect password'? Or maybe: 'Can not resolve
hostname'?

Or do you've got a segfault? Then it could be this bug:
http://www.lazarus.freepascal.org/mantis/view.php?id=1711

And if it's about database-issues, please tell us which version of fpc
you are using. The development of sqldb goes relatively fast. So you'd
better always use the latest svn version from fpc.

-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to