>You need the latest svn-version from fpc. >All non-visible components are part of >the FCL of fpc.
OK, Everything is installed and available for use. I use TSQL40Connection on MySQL 4.1.12-standard. Sample program TryMySQL (ptrmysql) connects but on any SQL statement it raises an exception with message "Database not assigned". I double checked login user privileges and it is OK, I even try with admin privileges. OS is Linux Lazarus revision 8935 FPC 2.1.1 revision 2909 Any idea? Regards, Panagiotis -----Original Message----- From: Joost van der Sluis [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 10:30 AM To: lazarus@miraclec.com Subject: RE: [lazarus] MySQL Connection On Thu, 2006-03-09 at 20:33 +0200, Panagiotis Sidiropoulos wrote: > >Yes, and maybe that you can update the wiki? > > Although I don't feel confident advising because of my limited skills, > I made this amendment to the wiki: That doesn't matter. Anyone has to learn. And besides of that, if only the developpers, who knows all ins and outs, can update the Wiki, it will never happen. ;) > >Reading the WIKI-text above, you'll see > >immediately what's wrong: > >you're not using the latest SVN version > >of Lazarus. > > I run "svn update" into Lazarus folder every day and not only once. > This moment's Lazarus revision is 8893. Ok, another error in the wiki. You need the latest svn-version from fpc. All non-visible components are part of the FCL of fpc. The Lazarus- package is only a wrapper around the real components. So an update of lazarus is only needed if a new component is added. (or deleted) > >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'? > > I understand the way you feel not getting enough information to figure > the problem out. Information I had last time just before posted this > request seemed useless to me so I did not include it, don't know, > can't remember what exactly was, I believe it was totally general. I'm > sure that if it was providing something useful such as 'Incorrect > password' or 'Can not resolve hostname' I wouldn't judge it the way I > did. Offcourse. But information that looks like useless to you, can mean everything to the programmer. > In the mean time, I read again article mentioned, followed every one > of suggestions there and made some cleaning and privileges checking. > Running sample application again, I get segfault mentioned on your > reply. After svn-ing fpc from scratch I got revision 2820. > > Now, after svn-ing fpc and try to compile it (I have to do it, don't > I?) using comamnd "make all" I get an error "cannot find -lgpm". Let > me find the cause and be back if necessary. You need to install the gpm-devel package. This is how it's called on Fedora, I'm not sure how to handle this on Knoppix. -- 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 _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives