Recent

Author Topic: Fail to use mysql component  (Read 6553 times)

Rudi Black

  • Guest
Fail to use mysql component
« on: January 23, 2006, 12:02:16 am »
HI.. need help here....
i try to installed the mysql component (under windows)... it is compiled but... then when lazarus reopen.. it says failed to open mysqllib....

can u pls tell me what is the right step for it?
is there any path to be set? i've put my mysql's path on the component's library path.. but still does not work...

pls help..

thx

Anonymous

  • Guest
RE: Fail to use mysql component
« Reply #1 on: January 25, 2006, 06:57:20 pm »
Hi Rudi,

The best way is to get libmysql.dll library from mysql server installation. You have to put this file directly to Lazarus main directory. As far as I know the best way is to use libmysql.dll from any mysql 4.0.x server (when using SQLdb component)

regards,

Sainty

Flanipuche

  • New member
  • *
  • Posts: 7
Fail to use mysql component
« Reply #2 on: February 06, 2006, 05:40:09 pm »
I have same incident with SQLdb component (or mysql component) .

I tested fewer version of libmysql.dll (4.0.0 / 4.0.0a / 4.0.23 / 4.0.26) and error occurs (ss_clear / server_init error)

I used Lazarus 0.9.10b (french) / Win32.

I despair  :cry:

RudieD

  • Full Member
  • ***
  • Posts: 234
Fail to use mysql component
« Reply #3 on: February 06, 2006, 08:49:18 pm »
I've just installed MySQL 5 and the lazarus from Lazarus-0.9.11-20060203-win32.exe has a TMySQL50Connection that I use and it worked.
The FRED Trainer. (Training FRED with Lazarus/FPC)

Flanipuche

  • New member
  • *
  • Posts: 7
Fail to use mysql component
« Reply #4 on: February 07, 2006, 06:11:18 pm »
Where are you find this binary? The last binary i found it's 0.9.10

matthijs

  • Hero Member
  • *****
  • Posts: 537
Fail to use mysql component
« Reply #5 on: February 07, 2006, 08:23:11 pm »
Quote from: "Flanipuche"
Where are you find this binary? The last binary i found it's 0.9.10

Have a look at snapshots! :)
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

Flanipuche

  • New member
  • *
  • Posts: 7
Fail to use mysql component
« Reply #6 on: February 07, 2006, 11:15:50 pm »
ah!! Cool. Thx a lot!! I download it.  :D

Arg...Don't work!  :shock:

Hum, i will uninstall old version to see.

 :P  It's ok with Lazarus 0.9.12b ! Mysql/SqlDb seems to work.

 

TinyPortal © 2005-2018